diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-23 10:05:15 +0200 |
---|---|---|
committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-23 10:05:15 +0200 |
commit | 04f34516f89451b5a3af6a122f740dc30112e597 (patch) | |
tree | ad8997bdd8bee5709fae9aa0338bc840d5f0f383 /modules | |
parent | e13cf758b6a296c80b80b83bdf8f9450365edcfe (diff) |
Improve compatibility with other RDBMS
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search/helpers/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/helpers/search.php b/modules/search/helpers/search.php index 15efa3b2..9046ad2d 100644 --- a/modules/search/helpers/search.php +++ b/modules/search/helpers/search.php @@ -45,7 +45,7 @@ class search_Core { "WHERE MATCH({search_records}.`data`) AGAINST ('$q' IN BOOLEAN MODE) " . $access_sql . "ORDER BY `score` DESC " . - "LIMIT $offset, $limit"; + "LIMIT $limit OFFSET $offset"; return array($count, new ORM_Iterator(ORM::factory("item"), $db->query($query))); } |