[Koha-bugs] [Bug 32477] Hiding batch item modification columns isn't remembered correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 23 12:18:05 CET 2023


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

--- Comment #6 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 159206
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159206&action=edit
Bug 32477: Launch function hideColumns after changing datatables settings

Hiding columns in batch item modification breaks if page is
loaded again. If one hides e.g. column
"Source of classification or shelving scheme" and then loads
the page column "Holds" disappears. Also behaviour of checbox
changes for "Source of classification..." column. This happens
because we launch function "hideColumns" before changing
datatables settings and "hidden" column with class "sorting_1"
is still present.

To test:
1. Find items to modify and modify them with batch item
modification tool.
2. In modification page, hide column "Source of classification or
shelving scheme". Confirm correct column is hidden.
3. Reload the page or modify items again.
=> Note that column "Holds" is now hidden and checking checkbox
for column "Source of classification..." behaves incorrectly (unchecked
checkbox shows column, checked hides it)
4. Apply this patch.
5. Repeat steps 1, 2 and 3.
=> Confirm correct column is now hidden when page is loaded again
and checkbox works correctly.

Sponsored-by: Koha-Suomi Oy

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


More information about the Koha-bugs mailing list