[Koha-bugs] [Bug 30017] Should we prefer `loop.first` and `loop.last` over calling `variable.count` to reduce our DB hits
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 7 16:48:51 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30017
--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Sometimes we need to know if there is are least 1 row, to display a title for
instance, or actions (check/uncheck all) at the top of the table.
We will then end up with 2 patterns. Not a big deal, but worst noting it.
Maybe better to have a TT var defined at the top of the template then reused
all along?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list