Bug 20979: Fix confirm deletion popup when deleting a biblio
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Jun 2018 21:06:00 +0000 (18:06 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 26 Jul 2018 07:32:29 +0000 (09:32 +0200)
commit8f8a82ae2516d2bb7b6d08b307e2393e5d5bd3d7
tree7326238d56699bb890d8dea379dce81cdaede19f
parent6903cc0607efa6ec5f84ac9b750fe962088d1e07
Bug 20979: Fix confirm deletion popup when deleting a biblio

When deleting an empty bib, error messages pops up "1 order(s) are
using this record. You need order managing permissions to delete this
record." even though user has superlibrarian permissions.  Prevents the
deletion of the bib record.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 48cecf7935728420567f62214c672c30e5fdfd7a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/catalog.js