The pager_query() function only searches and replaces on 'FROM' and thereby triggers on FROM_UNIXTIME when creating a count_query. The replace expression should include the space after 'FROM'. Attached a patch fixing this.
| Comment | File | Size | Author |
|---|---|---|---|
| pager.fixfrom.patch.txt | 531 bytes | gorgen |
Comments
Comment #1
killes@www.drop.org commentedLooks good to me, needs some testing. Will backport once committed to HEAD.
Comment #2
drummCommitted to HEAD.
Please note that FROM_UNIXTIME() is not recommended since it does not account for Drupal's timezone handling.
Comment #3
(not verified) commented