Summary: | Author links don't generate correct search query url for UseAuthoritesForTracings | ||
---|---|---|---|
Product: | Koha | Reporter: | wajasu <matted-34813> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | nick |
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: | ||
Attachments: |
intranet-tmpl-xslt_querydiff1.png grep -Hn 'q=au' and q=an
intranet-tmpl-TT_querydiff1.png grep -Hn 'q=au' and q=an opac-tmpl-xslt_querydiff.png grep -Hn 'q=au' and q=an opac-tmpl-TT_querydiff2.png grep -Hn 'q=au' and q=an |
Description
wajasu
2013-02-07 03:17:05 UTC
Created attachment 15123 [details]
intranet-tmpl-xslt_querydiff1.png grep -Hn 'q=au' and q=an
Created attachment 15124 [details]
intranet-tmpl-TT_querydiff1.png grep -Hn 'q=au' and q=an
Created attachment 15125 [details]
opac-tmpl-xslt_querydiff.png grep -Hn 'q=au' and q=an
Created attachment 15126 [details]
opac-tmpl-TT_querydiff2.png grep -Hn 'q=au' and q=an
I've added some grep -Hn screenshots to show files that specify q=au and q=an in their template logic for both XSLT and TT views.
It would probably be best to enumerate a more defined goal for this bug as I can see this becoming an omnibus bug.
Current goal: Get authors TT links to mirror the current XSLT link generation for both opac, and intranet.
The best way to test an authorlink in a view:
- With a known biblio with an $9 RLIN link to a valid authority:
- With UseAuthoritiesForTracings enabled
- With XSLT views on for results and details, hover over the Author link(s) and observe in the browser the URL that you would be directed to.
- It should contain something like: /cgi-bin/koha/opac-search.pl?q=an:359
(Without UseAuthorities it will have ?q=au:Joe Cool instead with an author name)
- Now turn off XSLT related views in sysprefs and navigate to the same views, and observe ?q=au: (when UseAuthoritiesForTracings is enabled. This is the bug. It should be ?q=an: with the correct authid as well.
The greps highlight possible other anomalies, but this bug can concentrate on the details and possibly results views for both opac and intranet.
Do I understand correctly that this bug relates only to the non-XSLT views? With those in a long slow decline into deprecation should this bug be "WONTFIX?" |