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

Lucas Gass (lukeg) <lu...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #173838|0                           |1
        is obsolete|                            |

--- Comment #4 from Lucas Gass (lukeg) <lu...@bywatersolutions.com> ---
Created attachment 173887
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173887&action=edit
Bug 30397: Remove duplicate entry from length menu of patrons search

If you have 20 in PatronsPerPage, there will be two 20 entries in the
length menu of the patrons search.
jQuery.unique is stupid it seems, it requires the array to be sorted (?)

let x = [1, 2, 1, 2]
jQuery.unique(x);
Array(4) [ 1, 2, 1, 2 ]

x = [1, 1, 2, 2]
jQuery.unique(x);
Array [ 1, 2 ]

Signed-off-by: David Nind <da...@davidnind.com>
Signed-off-by: Lucas Gass <lu...@bywatersolutions.com>

-- 
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