In Old Aiki that's in OCAL in widgets.php Aiki run count(*) on every
query even those that don't have records_in_page set. On OCAL in Search
page there is at least 15 queries and for all of them aiki count
records.
There is no need for this code. Should be rewritten. Should be reopen.
Simple if statment will do:
if ($widget->records_in_page) {
<count records here>
}
--
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/736257
Title:
aiki always run a query to count the records, need different solution
Status in Aiki Framework:
Invalid
Bug description:
in widgets.php code between 375 and 386 should be replaced
To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/736257/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help : https://help.launchpad.net/ListHelp