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

David Cook <dc...@prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dc...@prosentient.com.au

--- Comment #9 from David Cook <dc...@prosentient.com.au> ---
(In reply to Jonathan Druart from comment #6)
> I am wondering if we could not improve this a bit.
> 1. We could retrieve patrons with a dob
> 2. We could retrieve patrons from categories with dateofbirthrequired
> 
> Looping on all patrons does not seem very efficient.
> 
> What do you think?

I agree about improving efficiency.

Why not loop through the patron categories that have age limits, and then only
retrieve the patrons for those categories?

Depending on how inconsistencies want to be reported, you could then note
patrons with null dateofbirth, or only select patrons where their dateofbirth
is outside the allowed scope. 

Much better than looping through all patrons I think.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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