]> git.koha-community.org Git - koha.git/commit
Bug 32484: Enable plugins when UseACQFrameworkForBiblioRecords is set
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 22 Sep 2022 07:53:46 +0000 (09:53 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 21 Apr 2023 13:36:28 +0000 (10:36 -0300)
commitedcabe372878316a21046e001e4b274a206f771e
tree4b5c9a28269db6c25f3399896d1f4e29801edd1e
parent340880253042d36e429ee0805039fa2589241180
Bug 32484: Enable plugins when UseACQFrameworkForBiblioRecords is set

Test plan:
1. Do not apply the patch yet
2. Make sure you have an ACQ biblio framework with some framework
   plugins enabled. Create it if you don't.
3. Enable UseACQFrameworkForBiblioRecords system preference
4. Create a new acquisition basket.
5. On this new basket, click on "+ Add to basket", then "From a new
   (empty) record"
6. You should see a simplified MARC editor based on ACQ framework.
   Confirm that the plugins are not enabled (no visible buttons, nothing
   happening on focus/blur)
7. Apply patch
8. Repeat step 5
9. You should now see the plugins' buttons (only if you enabled plugins
   that use the 'click' event)
10. Confirm that the enabled plugins work correctly

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>
Koha/UI/Form/Builder/Biblio.pm [new file with mode: 0644]
acqui/neworderempty.pl
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/js/cataloging.js
t/db_dependent/Koha/UI/Form/Builder/Biblio.t [new file with mode: 0755]