]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 10:38:18 +0000 (11:38 +0100)
commitb913b98929c1d36f22e0642815226a65cd3e0171
treee4b24a65c7d4b27bdf7d7c9ff095f2c2a94b42f2
parent266c2a521b4ace755e1c4ffe97a74a6808da1f92
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>
(cherry picked from commit edcabe372878316a21046e001e4b274a206f771e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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]