[Bug 42348] New: Allow auth_finder to ignore mainstring ('Search all headings')
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Bug ID: 42348 Summary: Allow auth_finder to ignore mainstring ('Search all headings') Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Authority data support Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org If your authorities do not contain all the subfields that get copied into the search field 'Search all headings', you will probably be deleting the contents of that field over and over again in authority finder. You did it so often, no need to think about it :) Until now! This development proposes a pref that prevents filling mainstring ('Search all headings') with the value of those other subfields. -- 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=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |m.de.rooy@rijksmuseum.nl |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=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 197389 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197389&action=edit Bug 42348: Control population of mainstring in auth_finder Mainstring refers to 'Search all headings'. Controlled by a new pref: AuthFinderPopulateMainString. Test plan: Apply the patch. Set new pref to Populate. (So, behavior as always.) Use authority editor or basic biblio editor. Refresh browser. Pick a field with an authority finder (e.g. biblio 100, auth 400). Fill subfield $a and $b; verify that clicking the finder does fill $b in mainstring (Search all headings). Set new pref to 'Dont populate'. Repeat the above. But now $b should not be copied. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 --- Comment #2 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 197390 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197390&action=edit Bug 42348: Add new preference AuthFinderPopulateMainString Test plan: Run install or upgrade. Check the new preference under Administration. Verify that it has been set to Populate. (No behavior change.) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Allow auth_finder to ignore |Control population of |mainstring ('Search all |mainstring ('Search all |headings') |headings') in auth_finder -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This reports allows you to release notes| |control the population of | |Search all headings in auth | |finder. If you set the new | |preference | |AuthFinderPopulateMainStrin | |g to Dont populate, the | |authority finder will not | |(by default) be looking for | |values in the other | |subfields. Useful if your | |data probably does not | |include them. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This reports allows you to |This reports allows you to release notes|control the population of |control the population of |Search all headings in auth |Search all headings in auth |finder. If you set the new |finder. If you set the new |preference |preference |AuthFinderPopulateMainStrin |AuthFinderPopulateMainStrin |g to Dont populate, the |g to Dont populate, the |authority finder will not |authority finder will not |(by default) be looking for |(by default) be looking for |values in the other |values from the other |subfields. Useful if your |subfields. Useful if your |data probably does not |data probably does not |include them. |include them. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phil@chetcolibrary.org --- Comment #3 from Phil Ringnalda <phil@chetcolibrary.org> --- Is this fixing a problem different than bug 25122, where under some circumstances it's desirable to exclude things like dates in a personal name, or is it just fixing that same problem of things that Koha already knows are not part of an authority record, but nobody wants to make that knowledge available to the JS that prefills the search form? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=25122 --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Phil Ringnalda from comment #3)
Is this fixing a problem different than bug 25122, where under some circumstances it's desirable to exclude things like dates in a personal name, or is it just fixing that same problem of things that Koha already knows are not part of an authority record, but nobody wants to make that knowledge available to the JS that prefills the search form?
Hi Phil. This essentially seems to be the same problem as on bug 25122. It allows you (pref-controlled) to remove the other subfields from the search, only keeping $a. When our catalogers e.g. use copy-cataloging and want to connect the imported record to our authorities, they normally want to search for $a only. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 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=42348 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197389|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=42348 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197390|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=42348 --- Comment #5 from Phil Ringnalda <phil@chetcolibrary.org> --- Created attachment 198492 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198492&action=edit Bug 42348: Control population of mainstring in auth_finder Mainstring refers to 'Search all headings'. Controlled by a new pref: AuthFinderPopulateMainString. Test plan: Apply the patch. Set new pref to Populate. (So, behavior as always.) Use authority editor or basic biblio editor. Refresh browser. Pick a field with an authority finder (e.g. biblio 100, auth 400). Fill subfield $a and $b; verify that clicking the finder does fill $b in mainstring (Search all headings). Set new pref to 'Dont populate'. Repeat the above. But now $b should not be copied. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 --- Comment #6 from Phil Ringnalda <phil@chetcolibrary.org> --- Created attachment 198493 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198493&action=edit Bug 42348: Add new preference AuthFinderPopulateMainString Test plan: Run install or upgrade. Check the new preference under Administration. Verify that it has been set to Populate. (No behavior change.) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42348 --- Comment #7 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Phil Ringnalda from comment #6)
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Thanks! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org