[Bug 17435] New: Gives ability to display stocknumber in the search results
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Bug ID: 17435 Summary: Gives ability to display stocknumber in the search results Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: koha@univ-lyon3.fr QA Contact: testopia@bugs.koha-community.org Some library may have desire to display stocknumber directly in the search results as it's already done by default for itemcallnumber. This patch added stocknumber to data provided for xslt transformation. Then, it becomes possible to show it on the catalog (opac or staff) and the way to realize this (or not) may be customized through xslt results file according to library needs. As the xslt files must be modified, the test implies access to these files. Test plan : 1) go to Administration module, MARC default frameworks and add, if not already done, a stocknumber subfield (a priori under the 995 tag). It will be linked to items.stocknumber in the koha.link zone of Advanced constraints section. 2) edit an item in staff interface and add a number in the stocknumber field. 3) Edit the xslt opac Results file that you are using and customize it. For a basic test, you can just replace "itemcallnumber" occurrences by "stocknumber". 4) make a search in a way to get several results including the title from which you modified an item. 5) You will see the added stocknumber displayed (between square brackets in the default xslt). Same can be done through staff interface and staff xslt files. Olivier Crouzet -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Koha Team Lyon 3 <koha@univ-lyon3.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koha@univ-lyon3.fr --- Comment #1 from Koha Team Lyon 3 <koha@univ-lyon3.fr> --- Created attachment 56294 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56294&action=edit Gives ability to display stocknumber in the search results -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Koha Team Lyon 3 <koha@univ-lyon3.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Jesse Maseto <jesse@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jesse@bywatersolutions.com Attachment #56294|Gives ability to display |bug 17435: Gives ability to description|stocknumber in the search |display stocknumber in the |results |search results -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Héctor Eduardo Castro Avalos <hector.hecaxmmx@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56294|0 |1 is obsolete| | --- Comment #2 from Héctor Eduardo Castro Avalos <hector.hecaxmmx@gmail.com> --- Created attachment 56565 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56565&action=edit [SIGNED-OFF]Bug 17435: Gives ability to display stocknumber in search results Adds stocknumber to data provided for xslt transformation Test plan : 1) go to Administration module, MARC default frameworks and add, if not already done, a stocknumber subfield (a priori under the 995 tag). It will be linked to items.stocknumber in the koha.link zone of Advanced constraints section. 2) edit an item in staff interface and add a number in the stocknumber field. 3) Edit the xslt opac Results file that you are using and customize it. For a basic test, you can just replace "itemcallnumber" occurrences by "stocknumber". 4) make a search in a way to get several results including the title from which you modified an item. 5) You will see the added stocknumber displayed (between square brackets in the default xslt). Same can be done through staff interface and staff xslt files. Olivier Crouzet Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Héctor Eduardo Castro Avalos <hector.hecaxmmx@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hector.hecaxmmx@gmail.com Patch complexity|--- |Trivial patch Severity|enhancement |trivial Status|Needs Signoff |Signed Off Assignee|oleonard@myacpl.org |koha@univ-lyon3.fr -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56565|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 56744 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56744&action=edit [PASSED QA] Bug 17435: Gives ability to display stocknumber in search results Adds stocknumber to data provided for xslt transformation Test plan : 1) go to Administration module, MARC default frameworks and add, if not already done, a stocknumber subfield (a priori under the 995 tag). It will be linked to items.stocknumber in the koha.link zone of Advanced constraints section. 2) edit an item in staff interface and add a number in the stocknumber field. 3) Edit the xslt opac Results file that you are using and customize it. For a basic test, you can just replace "itemcallnumber" occurrences by "stocknumber". 4) make a search in a way to get several results including the title from which you modified an item. 5) You will see the added stocknumber displayed (between square brackets in the default xslt). Same can be done through staff interface and staff xslt files. Olivier Crouzet Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |kyle@bywatersolutions.com --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to master for 16.11, thanks Olivier! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17435 Frédéric Demians <frederic@tamil.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |frederic@tamil.fr --- Comment #5 from Frédéric Demians <frederic@tamil.fr> --- Pushed in 16.05. Will be in 16.05.06. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org