Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Magnus Enger 3ec4a02418 Bug 11004: Make xmlControlfield.js use the marcflavour syspref to look for XML files
Currently, xmlControlfield.js is hard coded to look for XML files for
MARC21:

  url: this.themelang + "/data/marc21_field_" + this.tagfield + ".xml",

This patch makes this code use the value from the marcflavour syspref,
as a preparation for making the NORMARC value builders use the XML
technique employed by the MARC21 value builders for 006 and 008.

To test:
- Make sure you have a MARC21 installation
- Set marcflavour = NORMARC
- Go to Cataloguing and start a new record with the default framework
- Open the value builders for 006 and 008 and observe that they still work, showing
  the coded values for MARC21
- Apply this patch
- Check the value builders for 006 and 008 and observe that you get a truncated view
  with an empty "Select a type of material" dropdown
- Use e.g. the Net console in Firebug to observe requests to
  http://localhost/intranet-tmpl/prog/en/data/normarc_field_008.xml
  that result in a 404 status
- Set marcflavour = MARC21
- Observe that the value builders for 006 and 008 are now fully working
- 006 and 008 should be the only value builders affected by this change, since
  they are the only ones using xmlControlfield.js, but please also verify that
  other value builders are still working as expected

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-25 16:02:57 +00:00
..
acqui Bug 9807: (follow-up) reindent basketgroup.tt 2013-12-17 17:40:24 +00:00
admin Bug 8230: Display acquisition details on the catalogue detail page 2013-12-13 23:22:05 +00:00
authorities bug 5202: (follow-up) adjust for the move of the merge record Javascript 2013-10-10 21:50:08 +00:00
basket Bug 9218: fix intranet cart email for non english templates 2013-10-31 23:53:25 +00:00
batch
catalogue Bug 9673: QA followup 2013-12-19 06:27:46 +00:00
cataloguing Bug 11004: Make xmlControlfield.js use the marcflavour syspref to look for XML files 2013-12-25 16:02:57 +00:00
circ Bug 10626: (follow-up) replace an instance of KohaAuthorisedValues 2013-12-20 04:17:44 +00:00
course_reserves Bug 10634 - Use datatables for course details items table 2013-09-04 14:19:03 +00:00
errors
help Bug 11383: Add help file for MARC modification templates 2013-12-20 22:53:27 +00:00
installer Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
labels Bug 10850 - give quick spine label template page its own ID 2013-10-18 04:51:14 +00:00
members Bug 11009: (follow-up) tweak wording and remove potential log noise 2013-12-10 20:20:37 +00:00
offline_circ Bug 10288 - Fix a tiny typo on "Pending offline circulation actions" 2013-05-20 12:23:32 -07:00
patron_lists Bug 10565: (follow-up) improve navigation aids 2013-10-14 22:43:03 +00:00
patroncards Bug 9924 - Simplify and rename patron card creator error message include 2013-09-08 19:19:23 +00:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 10718: fix items with no checkouts report 2013-09-08 20:04:43 +00:00
reserve Bug 10917: allow staff to update hold pickup location without modify_holds_priority 2013-10-08 14:23:07 +00:00
reviews
rotating_collections
serials Bug 11228: Improve hint on patron notification when adding/editing subscriptions 2013-12-19 15:10:26 +00:00
services Bug 10475 - Item form in acquisition not hiding subfields properly 2013-07-12 20:40:15 +00:00
sms
suggestion Bug 10626: Remove doubled up TT plugins - Merge KohaAuthorisedValues and AuthorisedValues 2013-12-20 04:14:45 +00:00
tags Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 11414: warn user about dangerous MARC modification rules 2013-12-23 16:06:57 +00:00
virtualshelves Bug 9757: Remove duplicated action buttons. 2013-06-26 09:04:37 -07:00
z3950
about.tt Bug 7143: Adding RMaint for 3.8 to release team 2013-12-13 15:12:14 +00:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10888: Don't hide authorities module from users who lack permission to edit authorities 2013-09-21 17:59:05 +00:00