[Koha-bugs] [Bug 24964] Do not filter patrons AFTER they have been fetched from the DB (when searching with permissions)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 25 13:43:15 CET 2020


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

--- Comment #7 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
(In reply to Jonathan Druart from comment #6)
> They should be returned depending on their borrowernumber. Which order do
> you get?

By adding debug to t/db_dependent/Utils/Datatables_Members.t :
-        'We got the 3 patrons we expected'
+        'We got the 3 patrons we expected'.Data::Dumper::Dumper(map {
$_->{borrowernumber} } @{ $search_results->{patrons} })

I get :
# $VAR1 = 7888;
# $VAR2 = 7886;
# $VAR3 = 7887;

I confirm failing is random.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list