It seems no one has noticed that before. When, for a given category, the products are splitted up accross multiple pages, e.g. '1 of 12', '2 of 12', ...,'12 of 12', the text_results is wrong:
For example:
'1 of 12' shown as 'Results 1 - 9 of 100'
'2 of 12' shown as 'Results 9 - 18 of 100' instead of 'Results 10 - 18 of 100
....
'12 of 12' shown as 'Results 99 - 100 of 100' instead of 'Results 100 - 100'
Daniel, I think there might be a bug in the Database->splitQuery method! I'll take a closer look at it today, maybe I can fix it.
OK, Here is how to fix it:
In file library/database/database.php, within the method splitQuery, replace the line containing
with the corrected one:
Daniel, please make sure that future releases will contain this fix!
In file library/database/database.php, within the method splitQuery, replace the line containing
Code: Select all
$this->from = (int)(($offset > 0 || $count['total'] == 0) ? $offset : '1');
Code: Select all
$this->from = (int)(($offset > 0 || $count['total'] == 0) ? $offset+1 : '1');
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: No registered users and 7 guests