[Koha-bugs] [Bug 32447] In items table barcode column can not be filtered

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 15 16:02:41 CET 2023


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

--- Comment #7 from Andreas Roussos <a.roussos at dataly.gr> ---
(In reply to Katrin Fischer from comment #6)
> Andreas, are you working on a patch? I stared at this forever... I really
> want to see this fixed (and see what the solution was!)
Indeed I am, Katrin. I actually stared at this forever too, and
almost broke my F11 key while debugging the code in Firefox's
Developer Tools over the last few days ;-)

I realised that if you undo the changes from commit 018a981b9b
the barcode search box appears again and searching for barcodes
is working, but there's still the issue of how the DataTable
behaves when you start hiding colums.

Anyway, I have a patch ready which fixes the issue described
here, and also fixes the issue from Bug 32448. As a matter of
fact, I think that both bugs are a bit similar since it's the
presence of hidden columns that causes the erratic DataTable.

I'm now in the process of preparing a Selenium unit test that
will help us detect problems with this particular DataTable
in the future.

Since you're eager to see the solution ;-) I uploaded the
patch here: https://diffy.org/diff/ceabcff747159
(toggling the mode to side-by-side makes it easier to read)

BTW, I didn't know which of the two Bugs I should assign myself
to, so I went for this one as it was the first one reported.

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


More information about the Koha-bugs mailing list