Browse Source

- Fix request for PostgreSQL

pull/16/head
Jaussoin Timothée 12 years ago
parent
commit
07d014e7d5
  1. 5
      app/models/item/ItemDAO.php

5
app/models/item/ItemDAO.php

@ -56,15 +56,14 @@ class ItemDAO extends ModlSQL {
$this->run('Item');
}
}
// number desc
function getServers() {
$this->_sql = '
select server, count(node) as number
from item
where node not like :node
group by server
order by jid desc';
order by number desc';
$this->prepare(
'Item',

Loading…
Cancel
Save