Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard f2be2cedc5
Bug 34533: jsdiff library missing from guided reports page
This patch restores the inclusion of the jsdiff JS library on the guided
reports page when displaying saved SQL reports. This fixes a JS error in
the browser console when the user tries to use our automatic update on
SQL reports which use an older syntax.

The patch also corrects a problem with svc/convert_report which was
causing an error when trying to display the diff information.

To test, apply the patch and restart services.

- Go to Reports -> Create from SQL.
- Add a report which is based on an older db structure. The example I
  found was:

  SELECT biblionumber,
  ExtractValue(marcxml,'//datafield/@tag/text()[substring(.,1,1) = "5"]') as 'notes'
  FROM biblioitems
  HAVING notes <> ''

- Save the report and go to the list of saved reports. There should be
  an "Update" column in the table, with a message about your newly-added
  report:

  "This report seems obsolete, it uses biblioitems.marcxml field."

- Clicking the "Update SQL" button should trigger a modal window that
  shows the before an after versions of the report. There should be
  no error in the browser console. Unfortunately the diff will not
  display because of a separate bug in svc/convert_report

Signed.off-by: Jessie Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-08-29 14:37:13 -03:00
..
acqui Bug 34509: Use select2 to load vendors on basket creation 2023-08-29 14:37:07 -03:00
admin Bug 34344: Make item types breadcrumbs uniform 2023-08-15 12:17:02 +03:00
authorities Bug 34436: (QA follow-up) Move spans to surround full text 2023-08-15 11:25:56 +03:00
basket Bug 33808: Add aria-labels in basket.tt 2023-07-14 15:23:22 -03:00
batch
catalogue Bug 34305: Account for negative prices on acq details tab 2023-08-15 15:14:04 +03:00
cataloguing Bug 34343: Update style of fixed footer navbar in Z39.50 searches 2023-08-15 15:14:07 +03:00
circ Bug 34434: Terminology: Biblio should be bibliographic 2023-08-15 12:16:56 +03:00
clubs Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
course_reserves Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -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 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
installer Bug 31667: Merge 'tip' and 'hint' classes 2023-08-15 15:14:06 +03:00
labels Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
mana
members Bug 31667: Merge 'tip' and 'hint' classes 2023-08-15 15:14:06 +03:00
offline_circ Bug 33858: Format dates in offline circ 2023-07-07 09:18:10 -03:00
onboarding Bug 32910: Adjust fontawesome icons ref 2023-06-12 11:52:08 -03:00
patron_lists Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
patroncards Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
plugins Bug 34131: (QA follow-up) Update page title to reflect breadcrumbs and side-menu behaviour 2023-07-07 09:18:09 -03:00
pos Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
recalls Bug 34013: Recalls awaiting pickup doesn't show count on each tab 2023-06-23 10:01:04 -03:00
reports Bug 34533: jsdiff library missing from guided reports page 2023-08-29 14:37:13 -03:00
reserve Bug 34320: Hold reordering arrows look broken after Font Awesome upgrade 2023-07-21 17:14:37 -03:00
reviews Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
rotating_collections Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
serials Bug 34436: Some breadcrumbs lack <span> for translatability 2023-08-15 11:25:55 +03:00
services
suggestion Bug 34601: (QA follow-up) Fix edit/delete links in toolbar 2023-08-29 14:37:10 -03:00
tags Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
test
tools Bug 34434: Terminology: Biblio should be bibliographic 2023-08-15 12:16:56 +03:00
virtualshelves Bug 22990: Fix template toolkit syntax issues in shelves_results.tt 2023-08-07 21:00:03 -03:00
about.tt Bug 34434: Terminology: Biblio should be bibliographic 2023-08-15 12:16:56 +03:00
auth.tt Bug 34028: Show the secret when registering from the auth screen 2023-07-24 14:55:31 -03:00
intranet-main.tt Bug 34288: Allow access to the cataloguing module with tools permission 2023-07-18 12:46:53 -03:00