Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Emmi Takkinen 83589f0317
Bug 33667: Allow copying holidays to all libraries when editing
When editing an existing holiday and checking the
"copy to all libraires" checkbox, the other calendars won't
get updates. Allow this by first checking if holiday exists
in target calendar and if not, add it.

To test:
1. Add unique holiday to branch A.
2. Don't check checkbox "Copy to all libraries".
3. Save.
4. Verify the holidays shows on all calendars as
a green box.
5. Edit the holiday, now check "Copy to all libraries"
and save.
=> Verify nothing has changed in other calendars:
only the green box, no holiday in list on the right
6. Edit again, make a change to description,
check checkbox, save.
=> Verify it's still not showing in the other
calendars.
9. Apply this patch.
10. Edit holiday again, check "Copy to all libraries"
and save.
=> Verify holiday is now added to other calendars.
11. Edit again, this time do not copy and save.
=> Verify holiday was edited just in branch A.
12. Again edit, check and save.
=> Verify holiday was edited in all libraries.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Sam Lau <samalau@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-07-06 10:08:45 -03:00
..
acqui Bug 34022: Adjust items data structure 2023-06-23 09:46:45 -03:00
admin Bug 34103: Capitalization: Currencies & Exchange rates 2023-06-23 11:00:58 -03:00
authorities Bug 31132: (follow-up) Reset dropdown values and style button 2023-06-23 11:00:59 -03:00
basket Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch
catalogue Bug 33999: (follow-up) Use link-styled button 2023-07-03 14:51:35 -03:00
cataloguing Bug 34146: Add a client-side check with maxlength too 2023-07-03 14:51:32 -03:00
circ Bug 33528: Use template wrapper for tabs: Patron details page 2023-06-14 09:22:02 -03:00
clubs Bug 25079: (QA follow-up) FA v6 update 2023-06-23 11:00:55 -03:00
course_reserves Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -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 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
installer Bug 32910: Adjust fontawesome icons ref 2023-06-12 11:52:08 -03:00
labels Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
mana
members Bug 34094: Use DefaultPatronSearchMethod consistently 2023-07-03 14:51:37 -03:00
offline_circ Bug 33962: Remove background job from process koc 2023-06-15 08:48:06 -03:00
onboarding Bug 32910: Adjust fontawesome icons ref 2023-06-12 11:52:08 -03:00
patron_lists Bug 34083: (follow-up) Prevent showing 'null' 2023-06-23 11:00:57 -03:00
patroncards Bug 28726: Add sort1 and sort2 to patron card creator - patron search. 2023-06-23 10:01:07 -03:00
plugins Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
pos Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -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 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
reserve Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
reviews Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
rotating_collections Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
serials Bug 34146: Counterpart for serials-edit 2023-07-03 14:51:33 -03:00
services
suggestion Bug 34080: Make suggestions_batch_ops a class 2023-06-26 11:39:48 -03:00
tags Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
test
tools Bug 33667: Allow copying holidays to all libraries when editing 2023-07-06 10:08:45 -03:00
virtualshelves Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
about.tt Bug 33868: Upgrade the Multiple Select plugin in the staff interface 2023-06-14 09:22:05 -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 32245: Fix delete news item from staff home page 2023-06-23 09:46:41 -03:00