[Bug 6265] New: Search for records linked to an authority not exact in OPAC
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 Bug #: 6265 Summary: Search for records linked to an authority not exact in OPAC Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_4 Platform: All URL: /cgi-bin/koha/opac-authoritiesdetail.pl?authid=1 OS/Version: All Status: ASSIGNED Severity: major Priority: P5 Component: Searching AssignedTo: katrin.fischer@bsz-bw.de ReportedBy: katrin.fischer@bsz-bw.de QAContact: koha-bugs@lists.koha-community.org When searching for linked records for an authority in OPAC's authority search the search is not exact. http://localhost/cgi-bin/koha/opac-search.pl?type=opac&q=1&idx=an Will bring up all records with an authority number starting with one. The link in intranet works correctly: http://localhost:8080/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=1 Changing the opac link accordingly brings up the right records: http://localhost/cgi-bin/koha/opac-search.pl?type=opac&q=1&idx=an,phr -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2011-04-25 19:56:50 UTC --- Created attachment 4001 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4001 proposed patch -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Patch Status|--- |Needs Signoff -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #4001|0 |1 is obsolete| | --- Comment #2 from Paul Poulain <paul.poulain@biblibre.com> 2011-04-28 20:48:06 UTC --- Created attachment 4018 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4018 patch signed-off -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com Patch Status|Needs Signoff |Signed Off -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz Patch Status|Signed Off |Patch Pushed --- Comment #3 from Chris Cormack <chris@bigballofwax.co.nz> 2011-04-28 21:13:02 UTC --- Pushed, please test -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 --- Comment #4 from Paul Poulain <paul.poulain@biblibre.com> 2011-04-29 10:25:06 UTC --- comment from hdl: imho, phr is not really what we would like. What would best fit is the usage of ext... But that would require a change in the koha-Auth-Number indexing and reindexing the biblios.... use elm xxx$9 Koha-Auth-Number:w,Koha-Auth-Number:p,Koha-Auth-Number:n n declaration should be optionnal. Which may not be what we want either. there are other places where this is required and needed xslt, opac-detail and intranet detail hope that helps. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2011-05-03 08:21:17 UTC --- I copied the search string from intranet to opac, because it worked like I expected it to work in intranet. The search link is constructed quite differently from other places in Koha, like the XSLT files. So I am not sure more changes are needed. I had tested a search for the author from the OPAC detail page and it seemed to work ok. This needs more testing, but I think the patch will fix the described problem in OPAC's authority search. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6265 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org