Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jared Camins-Esakov 83370c519c Bug 8523: Display auth hierarchies w/all marcflavours
This commit adds support for displaying authority hierarchies for all
flavours of MARC, not just UNIMARC. Display now uses the jQuery
jstree plugin, selected with the help of Owen Leonard, resulting in a
much faster experience for users.

Be aware that the jstree file uses tabs rather than 4-space indentation,
which I left as-is so as to make it easier to integrate upstream
releases in the future.

To test:
1) Enable the AuthDisplayHierarchy syspref
2) Create authority records with a hierarchy of see also fields
   (in MARC21/NORMARC, you'll be using 5xx fields for this, with a
   subfield $w=g for broader terms and subfield $w=h for narrower
   terms)
3) View the authorities in the OPAC, noting the hierarchical view at
   the top of the page.

This initial patch does not create bidirection linkages from
unidirectional links in MARC21 authorities. This means that when moving
up the authority hierarchy, lower levels will disappear. This is
intentional, as the first patch is intended merely to ensure that
AuthDisplayHierarchy functions the same for all marcflavours. A future
patch will add a cron job to generate the bidirectional linkages, once
we are sure that the hierarchy functionality for UNIMARC and
MARC21/NORMARC coexists peaceably.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Resolved conflicts in updatedatabase.pl, sysprefs.sql and in one of
the CSS files.

Test plan:

1) Run t/AuthoritiesMarc.t
New tests complete without any errors.

2) Make sure updatedatabase works correctly.
Update works nicely, new system preference is also added to syspref.sql

3) Make sure new terms are translatable.
Created new po files for de-DE and checked for new terms.
All translations appear correctly.

4) Make sure everything works with AuthDisplayHieararchy OFF
- Add authority
- Edit authority
- Delete authority

5) Test feature with AuthDisplayHieararchy ON
- Add authority
- Edit authority
- Delete authority

6) Add a couple of hierarchically linked authorities
Note: links have to be created in both directions

Example:
151 $aGermany
  551 $a Baden-Württemberg $w h

151 $aBaden-Württemberg
  551 $a Konstanz $w h
  551 $a Germany $w g

151 $aKonstanz
  551 $a Baden-Württemberg $w g
  551 $a Fürstenberg $w h
  551 $a Paradies $w h

151 $a Fürstenberg
  551 $a Konstanz $w g

151 $a Paradies
  551 $a Konstanz $w g

Tree shows up nicely above the authority record
- in staff
- in OPAC
  - on the normal view tab
  - on the MARC view tab

7) Checking the logs for warnings
- no Javascript errors or warnings
- no warnings or errors in log files
2012-09-21 14:52:08 +02:00
..
acqui Bug 5335 - More granular VAT 2012-09-20 18:09:53 +02:00
admin Bug 8523: Display auth hierarchies w/all marcflavours 2012-09-21 14:52:08 +02:00
authorities Bug 8523: Display auth hierarchies w/all marcflavours 2012-09-21 14:52:08 +02:00
basket
batch
catalogue Bug 5339: Invoices management improvement 2012-09-18 22:42:15 +02:00
cataloguing Bug 8185: Change some more strings from Italian to English 2012-09-19 15:45:29 +02:00
circ Bug 7751: Decrease Loans for Items in Demand for Holds 2012-09-18 19:01:14 +02:00
errors
help
installer
labels Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
members Bug 6151 - Followup - Display message for failed returns on circulation.pl when returning via issues table. 2012-09-17 19:19:13 +02:00
offline_circ
patroncards
reports Bug 7993: Save reports with Group/Subgroup hierarchy 2012-09-18 17:49:08 +02:00
reserve Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
reviews
rotating_collections
serials Bug 5335 - More granular VAT 2012-09-20 18:09:53 +02:00
services Bug 8637: Lack of control on mandatory in orderreveive.tt 2012-08-31 13:48:52 +02:00
sms
suggestion Bug 8440: Dates does not appear in suggestions management 2012-09-03 17:52:18 +02:00
tags Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
test
tools Bug 2060: Update command line MARC import scripts 2012-09-19 17:16:18 +02:00
virtualshelves
z3950
about.tt Bug 8641 - Add information warning about log-in as root user to About->System information 2012-09-13 18:56:31 +02:00
auth.tt
intranet-main.tt Bug 8593 - Follow-up - Add unique IDs to pending approval markup on staff client home page 2012-08-31 23:40:53 +02:00