[Bug 42874] New: z3950_auth_search is loosing index parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 Bug ID: 42874 Summary: z3950_auth_search is loosing index parameter Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: bibliothek@th-wildau.de QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- When adding an authority from within creating/editing a biblio the index param, which identifies the initial MARC field to fill can get lost when using z39.50 search: - when using pagination from a results list - when clicking Try another search is used. To recreate: - edit f.e. 262: /cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=262 - go to tab 7 and create a new 700 field (click on icon next to ADDED ENTRY--PERSONAL NAME - click on the icon te search for an authority (next to Personal name input field - check that the popup has a param like &index=tag_700_subfield_a_13631_9534947903 - click create new authority * - click Z39.50/SRU search * - on a result list every 'import' button still has index (via hovering the import button) - click on Go to page 1 - see result list again BUT the 'import' buttons do not have index param anymore - click back in browser to be on the former result list - click 'try another search' - check that new URL does not have index param anymore * all URLs still have the param index Importing one of the results without the index param would not update and link the biblio you originally edited -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch Assignee|koha-bugs@lists.koha-commun |bibliothek@th-wildau.de |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 --- Comment #1 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 200709 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200709&action=edit Bug 42874: Fix missing index param on z3950_auth_search This patch will enable the forwarding of index param in all z3950_auth_search forms to keep the reference which auth field to fill in addbiblio. Testplan: a) edit f.e. 262: /cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=262 b) go to tab 7 and create a new 700 field (icon next to ADDED ENTRY--PERSONAL NAME) c) click on the icon next to Personal name input field to open Authority search * d) click create new authority (Adding authority Personal Name) * e) click Z39.50/SRU search * f) search an author f.e. Name (any): Dalei g) on the result list every 'Import' button still has index (via hovering the import button) - but do not click import yet. h) click on 'Go' to page 1 - see result list again. The 'Import' buttons do not have index param anymore i) close that search window and go back to page 'Adding authority Personal Name' j) click Z39.50/SRU search again * k) search again for an author f.e. Name (any): Dalei l) click 'Try another search' m) check that new URL does not have index param anymore n) search again - the results will not have an index param Any imported authority will not be set/linked in the biblio that was initially edited. p) apply patch and redo steps a) - n) q) Import an author either via a 'Try another search' or via a result on a different page ('Go' button) r) save authority s) check that authority is added in your biblio in field 700. * check that the URL in the popup window has a param like &index=tag_700_subfield_a_13631_9534947903 as this is the reference to the authority you want to add in the biblio. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phil@chetcolibrary.org Summary|z3950_auth_search is |z3950_auth_search is losing |loosing index parameter |index parameter -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200709|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42874 --- Comment #2 from Phil Ringnalda <phil@chetcolibrary.org> --- Created attachment 201758 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201758&action=edit Bug 42874: Fix missing index param on z3950_auth_search This patch will enable the forwarding of index param in all z3950_auth_search forms to keep the reference which auth field to fill in addbiblio. Testplan: a) edit f.e. 262: /cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=262 b) go to tab 7 and create a new 700 field (icon next to ADDED ENTRY--PERSONAL NAME) c) click on the icon next to Personal name input field to open Authority search * d) click create new authority (Adding authority Personal Name) * e) click Z39.50/SRU search * f) search an author f.e. Name (any): Dalei g) on the result list every 'Import' button still has index (via hovering the import button) - but do not click import yet. h) click on 'Go' to page 1 - see result list again. The 'Import' buttons do not have index param anymore i) close that search window and go back to page 'Adding authority Personal Name' j) click Z39.50/SRU search again * k) search again for an author f.e. Name (any): Dalei l) click 'Try another search' m) check that new URL does not have index param anymore n) search again - the results will not have an index param Any imported authority will not be set/linked in the biblio that was initially edited. p) apply patch and redo steps a) - n) q) Import an author either via a 'Try another search' or via a result on a different page ('Go' button) r) save authority s) check that authority is added in your biblio in field 700. * check that the URL in the popup window has a param like &index=tag_700_subfield_a_13631_9534947903 as this is the reference to the authority you want to add in the biblio. Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org