]> git.koha-community.org Git - koha.git/commit
Bug 35477: Show a warning when non-existent items are added to the waiting list
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Dec 2023 13:19:37 +0000 (14:19 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 8 Jan 2024 14:29:43 +0000 (15:29 +0100)
commitd7e1136020a4f3a9f1a4b784823447c631c9cde6
tree2393d79df84d122f711ecfca16a120474ea0bed8
parentfec97b4ae8de760cb62b9d9c79c91823b97da6f2
Bug 35477: Show a warning when non-existent items are added to the waiting list

Only messages "X new items added" or "No items added" were displayed.
With this patch we will display:
A warning with "No items added"
A warning with "X new items added. Y items not found." when some items
have not been added
A messages "X new items added" when everything went well

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ed37c7e68d350a78b30080b2b4673083a471c50e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue