Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Marius Mandrescu 351e380a14
Bug 33335: Fix JavaScript error on the MARC overlay rules page
The "MARC overlay rules" page doesn't display or work correctly
if a patron category code contains a "-".

This happens because of the JavaScript function in
"marc-overlay-rules.tt" line 469. This causes an error
"Uncaught SyntaxError: missing : after property id".

Test plan:
1. Go to Administration > Patron categories.
2. Make sure you don't have a patron category code that contains
   a "-".
3. Go to Administration > Record overlay rules.
4. The table should display correctly, and you can add, edit
   and delete rules.
5. Return to Patron categories.
6. Add a new patron category with a "-" in the patron category code.
7. Return to Record overlay rules page:
   => The page doesn't display and load correctly (see the attached
      image) - the normal DataTables header and footer aren't
      displayed, and you can't add, edit or delete overlay rules.
  => If you turn on web developer tools, an error is displayed in the
     console: "Uncaught SyntaxError: missing : after property id".
8. Apply the patch.
9. Repeat the step 7, the Record overlay rules page should now
   display correctly and you should be able to add, edit and
   delete rules.
10. Sign off.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-12 17:50:07 -03:00
..
acqui Bug 33655: z39.50 search no longer shows search in progress 2023-05-12 11:22:37 -03:00
admin Bug 33335: Fix JavaScript error on the MARC overlay rules page 2023-05-12 17:50:07 -03:00
authorities Bug 33185: Use template wrapper for tabs on authority and biblio MARC details 2023-04-13 11:48:07 -03:00
basket Bug 33160: (QA follow-up) Adjust condition on biblio object 2023-04-06 09:47:24 -03:00
batch
catalogue Bug 31212: Change datelastseen from date to datetime field 2023-05-12 17:49:55 -03:00
cataloguing Bug 31212: Change datelastseen from date to datetime field 2023-05-12 17:49:55 -03:00
circ Bug 25379: (QA follow-up) Adjust other occurrences and add line break 2023-05-09 11:47:01 -03:00
clubs Bug 33382: Use template wrapper for breadcrumbs: Patron clubs 2023-04-12 11:43:16 -03:00
course_reserves Bug 33383: Use template wrapper for breadcrumbs: Course reserves 2023-04-12 09:27:07 -03:00
erm Bug 33408: Remove obsolete tests and template sys pref code 2023-04-13 11:48:02 -03:00
errors Bug 32973: Use template wrapper for breadcrumbs: about, main, and error page 2023-02-27 11:39:31 -03:00
ill Bug 22375: (follow-up) Format even more due dates consistently 2023-05-09 11:46:56 -03:00
installer Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
labels Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
mana
members Bug 33320: Add spacing in Patron modification requests 2023-05-12 11:22:46 -03:00
offline_circ Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
onboarding
patron_lists Bug 25379: (QA follow-up) Adjust other occurrences and add line break 2023-05-09 11:47:01 -03:00
patroncards Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
plugins Bug 33336: Use a dedicated column for plugin status in plugins table 2023-04-13 11:47:58 -03:00
pos Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
recalls Bug 32688: Convert recalls awaiting pickup tabs to Bootstrap 2023-01-30 12:21:34 -03:00
reports Bug 31212: Change datelastseen from date to datetime field 2023-05-12 17:49:55 -03:00
reserve Bug 30687: Allow pickup location to be forced when override is allowed 2023-05-12 11:22:49 -03:00
reviews Bug 32182: Replace static tabs markup with Bootstrap 2022-11-16 09:35:14 -03:00
rotating_collections Bug 33555: Use template wrapper for breadcrumbs: Rotating collections 2023-04-21 10:36:22 -03:00
serials Bug 33512: (follow-up) Check item count before adding add/edit button 2023-05-10 14:19:26 -03:00
services
suggestion Bug 33310: Use template wrapper for tabs: Suggestions 2023-04-21 10:36:24 -03:00
tags Bug 33565: Use template wrapper for breadcrumbs: Tags 2023-04-24 10:43:35 -03:00
test
tools Bug 31212: Change datelastseen from date to datetime field 2023-05-12 17:49:55 -03:00
virtualshelves Bug 33307: Use template wrapper for tabs: Lists 2023-04-13 11:48:10 -03:00
about.tt Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
auth.tt Bug 33253: Turn off autocompletion for 2FA authentication code 2023-05-09 11:46:59 -03:00
intranet-main.tt Bug 33133: Add fast cataloging to 'Cataloging' page 2023-03-27 12:50:07 +02:00