https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43174
--- Comment #3 from Jonathan Druart <[email protected]> --- Created attachment 202583 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202583&action=edit Bug 43174: Restore defer loading for patron searches On the hold request and the patron search pages, the search is not deferred when a state exists. Coming from commit 2a344136014250b205ff74d8ea2dcb679ebb7105 Bug 41604: Save user decision per column when visibility changes - if (default_save_state_search) { + if (default_save_state || default_save_state_search) { $("#" + settings.nTable.id).data("loaded_from_state", true); - } else { + } + if (!default_save_state_search) { delete state.search; state.columns.forEach(c => delete c.search); I think this was a leftover from another try to fix bug 41604. I don't see how it could help in the context of saving the user decision. In the different patches from bug 41604 we don't test loaded_from_state. Test plan: Go to /cgi-bin/koha/members/members-home.pl => The table is not displayed Search for patrons => The table is displayed Reload the page => Without this patch the table is displayed => With this patch the table is not displayed If you have "Save search state on page change" enabled for this table, the table should be displayed if a previous search was made. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
