Bug 40842

Summary: Hyperlinks for Corporate authors only searches the term in subfield $a
Product: Koha Reporter: Jeremy Evans <jeremy.evans>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 24.11   
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 Jeremy Evans 2025-09-19 15:43:23 UTC
If I click on the hyperlink for a Corporate Author (110 or 710) in a single record or search results view it only searches the entry from subfield $a.

For example if the record has an entry such as:
$aGreat Britain. $bHealth and Safety Executive

Clicking on the hyperlink currently in 24.11 only searches for "Great Britain" which brings up a very large number of results are are not relevant and from other unrelated Government bodies.

Ideally, the hyperlinks would be split so that clicking on "Great Britain" would search for that term in $a. In addition, clicking on "Health and Safety Executive" would search for the matching combined phrase from $a and $b

The same treatment may be needed for 111/711 entries.