https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42027

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211482
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211482&action=edit
Bug 42027: Show the "Show volumes" link for serials that have volumes

Koha shows a "Show volumes" link for sets and traced series when a
search in the background finds volumes of the record. Do the same for
serials, as some libraries have records for the bound volumes of their
serials.

* get_volumes_query now also builds a query for serials (Leader/07 s),
  so that get_marc_volumes looks for their volumes.
* The staff interface and OPAC detail stylesheets show the link for
  serials when volumes were found.

Libraries that use their own stylesheet to always show the link for
serials can remove it.

This depends on bug 39287 (the rcn-volumes index).

To test:
1. Set UseControlNumber to Use
2. Create a serial record (Leader/07 s) with a 001, for example SER1
3. Create a record for a bound volume of it: a monograph with 773$w SER1
   (or 830$w SER1)
4. Create another serial record that has no volumes
5. Rebuild the search index
6. In the staff interface, open the first serial
   => There is a "Volumes: Show volumes" link
7. Click it
   => The volume is found
8. In the OPAC, open the first serial
   => There is a "Volumes: Show volumes" link
   => It finds the volume
9. Open the serial without volumes in both
   => There is no link
10. Run
    $ prove t/db_dependent/Koha/Biblio.t t/db_dependent/XSLT.t
    => SUCCESS: Tests pass!
11. Sign off

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to