]> git.koha-community.org Git - koha.git/commit
Bug 20148: Prevent adding same user multiple times to acq basket
authorPasi Kallinen <pasi.kallinen@joensuu.fi>
Wed, 7 Feb 2018 07:45:20 +0000 (09:45 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 18 Feb 2018 17:48:43 +0000 (14:48 -0300)
commit53e8b8cbe0ff98fb691cb80f7b9986b49b94be5c
treec387eeccfeadc931f374a5d7acf896bc131db12f
parent138afb693ebfa09208bffb5ab0e18aa2bb96da38
Bug 20148: Prevent adding same user multiple times to acq basket

When adding a user to manage acquisitions basket, it is possible
to add the same user multiple times. Prevent that.

Test plan:

1) Go to Home -> Acquisitions -> [bookseller] -> [basket]
2) On the "Add user" in the Managed by-part, and try adding
   the same user multiple times.
3) Apply patch
4) Repeat 1 and 2. You should now get an error message saying
   the user is already in the list.

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>
Signed-off-by: Roch D'Amour <roch.damour@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt