Summary: | Make author span a clickable link on OPAC results list | ||
---|---|---|---|
Product: | Koha | Reporter: | Barbara Johnson <barbara.johnson> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | RESOLVED FIXED | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | jrobb, lucas |
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.05.00,22.11.03
|
|
Attachments: |
Tile with clickable link for the author
Multiple clickable authors from Ajax Library Bug 26765: Make author span a clickable link on OPAC results list Bug 26765: Make author span a clickable link on OPAC results list Bug 26765: Make author span a clickable link on OPAC results list |
Hi Barbara, this looks like you have made some changes to the standard display, hiding the separate information about authors and other people involved that are clickable (from the 1xx and 7xx)? The problem is that 245$c is often not suitable for being used as a search as they contain extra information and punctuation etc. that make the search return zero results. Think of an item with 2 authors listed in $c for an example. Or: "edited by..." Hm, looking at the list again I am no longer sure it's from 245$c ... needs probably some more investigation. We have made customizations to the XSLT for our author display on the results page to show only the first author listed. Ajax Library made similar customizations (that's what ours was based on) and they show more than one author each being clickable - https://catalogue.ajaxlibrary.ca/cgi-bin/koha/opac-search.pl?q=james+patterson+paetro. I don't understand all the inner workings for these displays but having the ability to execute an author search from the results list would be great. Created attachment 112579 [details]
Multiple clickable authors from Ajax Library
Created attachment 145771 [details] [review] Bug 26765: Make author span a clickable link on OPAC results list This patch follows the markup of the staff interface catalog results XSLT to make authors in OPAC search results clickable. The patch also makes some minor CSS changes so that title and author links are not too crowded together. To test, apply the patch and rebuild the OPAC CSS. - Perform a catalog search in the OPAC which will return multiple results. - In the search results, each author in each search result should be a separate clickable link. - The margins around the result title and authors should be comfortable. - Confirm that each link takes you to the correct author search. Created attachment 145772 [details] [review] Bug 26765: Make author span a clickable link on OPAC results list This patch follows the markup of the staff interface catalog results XSLT to make authors in OPAC search results clickable. The patch also makes some minor CSS changes so that title and author links are not too crowded together. To test, apply the patch and rebuild the OPAC CSS. - Perform a catalog search in the OPAC which will return multiple results. - In the search results, each author in each search result should be a separate clickable link. - The margins around the result title and authors should be comfortable. - Confirm that each link takes you to the correct author search. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> This works great and looks great. Created attachment 146212 [details] [review] Bug 26765: Make author span a clickable link on OPAC results list This patch follows the markup of the staff interface catalog results XSLT to make authors in OPAC search results clickable. The patch also makes some minor CSS changes so that title and author links are not too crowded together. To test, apply the patch and rebuild the OPAC CSS. - Perform a catalog search in the OPAC which will return multiple results. - In the search results, each author in each search result should be a separate clickable link. - The margins around the result title and authors should be comfortable. - Confirm that each link takes you to the correct author search. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 23.05. Nice work everyone, thanks! Nice work, thanks everyone! Pushed to 22.11.x for the next release. Doesn't apply cleanly in 22.05.x, no backport. |
Created attachment 112103 [details] Tile with clickable link for the author When looking at the results of a search patrons or staff may then want to see what other materials by an author are available. For libraries who display the author on a separate line in the OPAC results list, make the author a clickable link which would bring up all the materials in the catalog by that author. This would improve searching for patrons since they would not have to take the time to go into the detailed record or perform a new author search which takes time and could lead to misspelling of the name. The information is already on the page so it seems like it would be good to make it more useable.