[Koha-bugs] [Bug 30183] New: ILL table search filtering broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 25 16:02:28 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30183
Bug ID: 30183
Summary: ILL table search filtering broken
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: ILL
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew.isherwood at ptfs-europe.com
To replicate:
- View a table of ILL requests
- Attempt to filter the table by typing in the search box
- Note nothing happens and the console displays:
Uncaught TypeError: Cannot read properties of undefined (reading '0')
at Array.<anonymous> (ill-list-table_21.1101000.js:501:75)
Looking at the history of ill-list-table.js there looks to be a couple of
commits that have moved away from using datepicker which appear to have
resulted in the breakage:
https://github.com/PTFS-Europe/koha/commit/b70a9a29d77f4109b082fe6ed57cc44f3c2bae4f#diff-6fe7f0230c90310d4a449891a8179faa0952c9f0d307845fce1de4553e3c9fc0
changed the definition of illfilter_dateplaced_* variables to use Flatpickr,
and:
https://github.com/PTFS-Europe/koha/commit/30196fcdf3f5d726ad79c4f8983b17e9ad06b46a#diff-6fe7f0230c90310d4a449891a8179faa0952c9f0d307845fce1de4553e3c9fc0
removed the variable definitions, which appears to be what is resulting in the
error
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list