https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30553

Martin Renvoize <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize@ptfs-europe
                   |                            |.com

--- Comment #8 from Martin Renvoize <[email protected]> ---
Hmm, my initial thought here is what are we grabbing so much data for just a
count?

I see Koha::Patron::Files isn't a modern Koha::Object based class, more of a
half way between C4 module and an object.. so it's not as simple as it
initially looks.

However, maybe it's worth going half way and introducing a 'GetFileCount'
method in the underlying Koha::Patron::Files class which does the simpler
'SELECT COUNT(*) FROM borrower_files WHERE borrowernumber = ?' instead?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to