Bug 39287

Summary: Improve "Show volume" search with a more specialized search index
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy, michaela.sieber
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2025-03-10 12:55:22 UTC
Currently the rcn index used to search for volumes contains all $w subfields from 7xx and 8xx linking fields. In some cases this is too broad, even tho we are additionally limiting to monographs.

Example:
Search volumes will also find
- records with a 775$w - other edition
- records with a matching 780/785$w - preceeding or succeeding
...

A specific index for searching volumes (rcn-volumes) should contain:

- 773$w (we still need to limit to monographic, because these could also be analytcal links)
- 800$w
- 810$w
- 811$w
- 830$w

Once the index is defined we can update the XSLT and the method for determining if the "Show volumes" link should be shown to use it and have a correct result list.