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

--- Comment #1 from Magnus Enger <mag...@enger.priv.no> 2012-02-16 11:08:10 UTC 
---
Created attachment 7676
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7676
Bug 7537 - Implement TraceCompleteSubfields and TraceSubjectSubdivisions for
NORMARC XSLT

As the title says, this patch implements TraceCompleteSubfields and
TraceSubjectSubdivisions for NORMARC XSLT, both for the OPAC and the
Intranet. This affects how clickable subject-links are constructed.

To test:

Find a record with a complex subject, like "Art -- United States".
MARC21 and NORMARC are very similar in how they handle subjects, so testing
on a MARC21 database should be OK.

Make sure you have these syspref settings:
- marcflavour = NORMARC
- XSLTDetailsDisplay = using XSLT stylesheets
- OPACXSLTDetailsDisplay = using XSLT stylesheets

Now try the different combinations of TraceCompleteSubfields and
TraceSubjectSubdivisions and check the format of the clickable links,
both in the OPAC and staff client. Here's what you should be seeing:

1.
TraceCompleteSubfields   = Don't force
TraceSubjectSubdivisions = Don't include
-> q=su:{Art}

2.
TraceCompleteSubfields   = Force
TraceSubjectSubdivisions = Don't include
-> q=su,complete-subfield:{Art}

3.
TraceCompleteSubfields   = Don't force
TraceSubjectSubdivisions = Include
-> q=(su:{Art}) and (su:{United%20States.})

4.
TraceCompleteSubfields   = Force
TraceSubjectSubdivisions = Include
-> q=(su,complete-subfield:{Art}) and (su,complete-subfield:{United States.})

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to