[Koha-bugs] [Bug 33786] ILL requests table pagination in patron ILL history is transposing for different patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 30 09:07:47 CEST 2023


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

--- Comment #14 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Not blocker, but this:

+    function get_prefilter_value(prefilter_key) {
+        let pre_filter = additional_prefilters.find(e => e.key ===
prefilter_key);
+        return additional_prefilters.length != 0 && typeof pre_filter !==
"undefined" ? pre_filter['value'] : null;
+    }


reads odd.

We should not need 'additional_prefilters.length != 0'.

Also I am wondering how this can be written nicely, Paul maybe?

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


More information about the Koha-bugs mailing list