https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32303
David Nind <da...@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #144159|0 |1 is obsolete| | --- Comment #3 from David Nind <da...@davidnind.com> --- Created attachment 144178 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144178&action=edit Bug 32303: DT pagination on system preference search result This patch updates the way we retrieve a DataTable's saved state during initialization. The change is to prevent cases where making a duplicate call to DataTables() initializes the table again. To recreate the bug, search system preferences for the term "last." Scroll down to the "OPAC preferences" section and observe that there are two filter forms displayed above it. Apply the patch and perform the same search again. The extra forms should be gone. Confirm that DataTables behavior is still the same: - Test pages which use the "saveState" option in DataTables. - Type text in the table's search field - Reload the page. The search field should still have the string you entered, and the "Clear filter" button should be active. - Administration -> Libraries - Acquisitions -> Vendor -> Receive shipments -> Receive orders - Circulation -> Overdues - Test pages which don't use the "saveState" option, e.g. the checkout screen, patron search results, list of saved reports, etc. The behavior of the search form and table operations in general should be unchanged. Signed-off-by: David Nind <da...@davidnind.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/