Summary: | OPAC system preference BiblioDefaultView is ignored | ||
---|---|---|---|
Product: | Koha | Reporter: | Ranadip Chandra <ranadipchandra> |
Component: | OPAC | Assignee: | Mark Tompsett <mtompset> |
Status: | CLOSED WONTFIX | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | indradg, jonathan.druart, mtompset, tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12574 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15175 |
||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 14259: OPAC system preference BiblioDefaultView is ignored
Bug 14259: OPAC system preference BiblioDefaultView is ignored Bug 14259: OPAC system preference BiblioDefaultView is ignored (3.16.x) |
Description
Ranadip Chandra
2015-05-23 14:15:28 UTC
Changing the OPAC system preference BiblioDefaultView did not affect the link generation in opac-search.pl correctly. It always went to opac-detail. -- with respect to the cover images. bug 12574 should have fixed this - can you give some more information about your Koha version and the links you click? (In reply to Katrin Fischer from comment #3) > bug 12574 should have fixed this - can you give some more information about > your Koha version and the links you click? Koha Master Turn on as many image cover options as you can in the system preferences. Change the BiblioDefaultView to ISBD. Open an OPAC search The title links are correct. Mouse over the image links (even the no cover image ones): opac-detail -- oh, and don't use the XSLT view. Created attachment 40851 [details] [review] Bug 14259: OPAC system preference BiblioDefaultView is ignored Cover image links ignore the BiblioDefaultView value for non-XSLT. XSLT was corrected in 12574. TEST PLAN --------- 1) Back up your database 2) drop you db and do a fresh install of the sample data 3) set koha admin to a super librarian, and set up a username and password for it. 4) catalog "The Road To Character" by David Brooks. 5) using koha admin import a small set of data. 6) stop zebra and do a full reindex then restart it. 7) Change the 'OPACXSLTDetailsDisplay' and 'OPACXSLTResultsDisplay' system preferences to blank! -- This corrects the non-XSLT things missed by 12574. 7) Change the 'GoogleJackets' system preference to 'Add'. 8) Change the 'BiblioDefaultView' system preference to 'in their MARC form'. 9) Change the 'IDreamBooksResults' system preference to 'Add'. 10) Search for something that will find "The Road To Character" and something else in the OPAC. 11) Run your mouse over the title text in the search results. -- Link will be to opac-MARCdetail.pl 12) Run your mouse over the cover image or lack thereof. -- Link will be to opac-detail.pl -- This will fail for both "The Road to Character" and the non-"The Road to Character" entries. 13) Apply this patch 14) Refresh the OPAC page -- Links under the cover images will be corrected. 15) In the staff client, change 'IDreamBooksReviews' to 'Add'. 16) Refresh the OPAC page -- "The Road to Character" will be correct, but have a '#idb_critic_reviews' appended. 17) run koha qa test tools Created attachment 44776 [details] [review] Bug 14259: OPAC system preference BiblioDefaultView is ignored Cover image links ignore the BiblioDefaultView value for non-XSLT. XSLT was corrected in 12574. TEST PLAN --------- 1) Back up your database 2) drop you db and do a fresh install of the sample data 3) set koha admin to a super librarian, and set up a username and password for it. 4) catalog "The Road To Character" by David Brooks. 5) using koha admin import a small set of data. 6) stop zebra and do a full reindex then restart it. 7) Change the 'OPACXSLTDetailsDisplay' and 'OPACXSLTResultsDisplay' system preferences to blank! -- This corrects the non-XSLT things missed by 12574. 7) Change the 'GoogleJackets' system preference to 'Add'. 8) Change the 'BiblioDefaultView' system preference to 'in their MARC form'. 9) Change the 'IDreamBooksResults' system preference to 'Add'. 10) Search for something that will find "The Road To Character" and something else in the OPAC. 11) Run your mouse over the title text in the search results. -- Link will be to opac-MARCdetail.pl 12) Run your mouse over the cover image or lack thereof. -- Link will be to opac-detail.pl -- This will fail for both "The Road to Character" and the non-"The Road to Character" entries. 13) Apply this patch 14) Refresh the OPAC page -- Links under the cover images will be corrected. 15) In the staff client, change 'IDreamBooksReviews' to 'Add'. 16) Refresh the OPAC page -- "The Road to Character" will be correct, but have a '#idb_critic_reviews' appended. 17) run koha qa test tools Signed-off-by: Frederic Demians <f.demians@tamil.fr> All combinations tested without/with this patch. Works as expected. Were not they going to be deprecated? http://wiki.koha-community.org/wiki/Coding_Guidelines#DEPR1:_non-XSLT_search_results_and_bib_display_templates_deprecated """ As of 2014-07-02, use of the XSLT search results and bib details display templates for the staff interface and public catalog is now the preferred option. Consequently, the non-XSLT option is now deprecated and it will not be maintained. """ (In reply to Jonathan Druart from comment #9) > http://wiki.koha-community.org/wiki/Coding_Guidelines#DEPR1:_non- > XSLT_search_results_and_bib_display_templates_deprecated > > """ > As of 2014-07-02, use of the XSLT search results and bib details display > templates for the staff interface and public catalog is now the preferred > option. Consequently, the non-XSLT option is now deprecated and it will not > be maintained. > """ 3.22.x = now 3.20.x = july 3.18.x = last year 3.16.x = year before that Perhaps, if 3.16.x is to be maintained at all, this would still be a valid patch for 3.16.x? In the meantime, changing the OPACXSLTDetailsDisplay, OPACXSLTResultsDisplay, XSLTDetailsDisplay, and XSLTResultsDisplay all to default, as they are likely blank currently, would be the recommended course of action. I think 3.16 can be considered EOL currently, as it has no maintainer: http://wiki.koha-community.org/wiki/Roles_for_3.24 Created attachment 45342 [details] [review] Bug 14259: OPAC system preference BiblioDefaultView is ignored (3.16.x) Cover image links ignore the BiblioDefaultView value for non-XSLT. TEST PLAN --------- 1) Back up your database 2) drop you db and do a fresh install of the sample data 3) set koha admin to a super librarian, and set up a username and password for it. 4) catalog "The Road To Character" by David Brooks. 5) using koha admin import a small set of data. 6) stop zebra and do a full reindex then restart it. 7) Change the 'OPACXSLTDetailsDisplay' and 'OPACXSLTResultsDisplay' system preferences to blank! -- This corrects the non-XSLT things missed by 12574. 7) Change the 'GoogleJackets' system preference to 'Add'. 8) Change the 'BiblioDefaultView' system preference to 'in their MARC form'. 9) Change the 'IDreamBooksResults' system preference to 'Add'. 10) Search for something that will find "The Road To Character" and something else in the OPAC. 11) Run your mouse over the title text in the search results. -- Link will be to opac-MARCdetail.pl 12) Run your mouse over the cover image or lack thereof. -- Link will be to opac-detail.pl -- This will fail for both "The Road to Character" and the non-"The Road to Character" entries. 13) Apply this patch 14) Refresh the OPAC page -- Links under the cover images will be corrected. 15) In the staff client, change 'IDreamBooksReviews' to 'Add'. 16) Refresh the OPAC page -- "The Road to Character" will be correct, but have a '#idb_critic_reviews' appended. 17) run koha qa test tools As per Katrin's comment #11, I felt this best to mark as RESOLVED WONT FIX. Though, in the off chance there is found a 3.16.x maintainer, I've attached what I believe will work for 3.16. Otherwise, based on Jonathan Druart's comment #9, I'll reiterate what seems to be the recommendation that I stated in comment #10: - Change the OPACXSLTDetailsDisplay, OPACXSLTResultsDisplay, XSLTDetailsDisplay, and XSLTResultsDisplay all to default, as they are likely blank currently. |