[Koha-bugs] [Bug 9563] Author links don't generate correct search query url for UseAuthoritesForTracings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 7 06:11:01 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9563

--- Comment #4 from wajasu <matted-34813 at mypacks.net> ---
Created attachment 15126
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15126&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list