Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Jonathan Druart 24470f70e1 Bug 9366: add widget to bib editor to control display of the MARC tags
If the syspref hide_marc is set to "don't display", tags were not shown
by default.

This patch adds a checkbox to hide/show tags directly on the
cataloguing page. The value is stored in a cookie.

Test plan:
Enable/disable the sysprefs hide_marc and advancedMARCeditor in order to
check if the display is according with what the user want.
Reload the page and verify the value is kept.
The first value of the cookie is retrieved from the hide_marc pref.

Bonus:
This patch removes the link "Show MARCtag documentation links" if the
syspref advancedMARCeditor is enabled.

Signed-off-by: Joel Aloi <aloi54@live.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This works as described, the editor will remember the choices
made by the cataloguer.

Passes all tests and QA script.

Notes:
- The error messages for mandatory fields upon saving only
give the tag number and not the description, so this might require
to turn back on the tag display.

- The advancedMARCeditor doesn't display the documentation links before
and after the patch was applied. I think it could still be useful for
an advanced cataloger to be able to look up information on a field quickly.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-14 15:00:58 +00:00
..
value_builder Bug 11503: [Follow-up] fix another typo 2014-01-14 20:08:58 +00:00
addbiblio.tt Bug 9366: add widget to bib editor to control display of the MARC tags 2014-03-14 15:00:58 +00:00
addbooks.tt Bug 10678 - Allow framework selection when creating from Z39.50 2013-09-08 22:31:09 +00:00
additem.tt Bug 10901: (follow-up) add space between 'Edit in host' and 'Delink' 2013-09-27 17:00:35 +00:00
linkitem.tt Bug 8356 - moveitem.tt and linkitem.tt have cataloging typo Changed urls from cataloging to cataloguing 2012-07-10 10:56:26 +02:00
merge.tt Bug 10650 - export merge-record.inc javascript into a file 2013-09-16 16:17:34 +00:00
moveitem.tt Bug 8356 - moveitem.tt and linkitem.tt have cataloging typo Changed urls from cataloging to cataloguing 2012-07-10 10:56:26 +02:00
z3950_auth_search.tt Bug 10096: (follow-up) fix typo introduced in previous followup 2013-10-14 22:44:23 +00:00
z3950_search.tt Bug 11710 - Use new DataTables include in cataloging Z39.50 search template 2014-02-27 15:34:12 +00:00