Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 46040fcf86
Bug 17355: Add the ability to remove authorised value categories
This new patch set is adding a new DB field is_system to distinguish
internal categories.

The list of internal categories is in the patch "DB changes - set
is_system for categories" and can be discussed/extended.

Test plan:
0.
- Apply patch
- updatedabase
1.
- Create a new AV category
- Create an authorised value
- List the AVs for this category
- Remove all the AVs for this category
=> You see 2 buttons "Add a new authorised value" and "Delete category
'XXX'"
- Click the delete button
=> You get a popup
- Accept
=> The category is deleted

2.
- List the AV for Asort1 (internal category)
/cgi-bin/koha/admin/authorised_values.pl?searchfield=Asort1
- Delete the AVs for this category (if there is any)
=> You do not see the "Delete category" button

3.
- Create a new AV category 'foo'
- Create an authorised value
- Hit /admin/authorised_values.pl?op=delete_category&categor_name=foo
=> You get an error message (expected because the category cannot be
deleted if it has AV linked)
=> message text:
=> An error occurred when deleting this authorized value category. Check the logs.

4.
- Hit /admin/authorised_values.pl?op=delete_category&categor_name=Asort1
=> You get an error message (expected because the category Asort1 cannot
be deleted, it's an internal category.
=> message text:
=> An error occurred when deleting this authorized value category. Check the logs.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-04 07:57:21 +01:00
..
acqui Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
admin Bug 17355: Add the ability to remove authorised value categories 2020-05-04 07:57:21 +01:00
authorities Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
basket
batch
catalogue Bug 23349: Add batch operations to staff interface catalog search results 2020-04-20 13:33:22 +01:00
cataloguing Bug 19313: Fix typo in in unimarc_field_130.pl value builder 2020-04-29 18:58:40 +01:00
circ Bug 23433: (RM follow-up) One last consistency improvement 2020-05-04 07:57:20 +01:00
clubs
common Bug 24964: Restore pagination for patrons for owner/users of funds 2020-04-06 10:57:10 +01:00
course_reserves Bug 22630: Fix capitalization 2020-04-29 17:08:16 +01:00
errors
ill Bug 23173: (follow-up) Fix QA script errors 2020-04-06 11:05:14 +01:00
installer Bug 24131: Remove bullet points for secondary descriptions 2020-03-24 10:42:24 +00:00
labels
mana
members Bug 25119: Fix account type and description for individual writeoffs/payments 2020-05-01 15:43:56 +01:00
offline_circ
onboarding
patron_lists Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
patroncards
plugins Bug 25282: (follow-up) More corrections 2020-04-29 16:20:24 +01:00
pos Bug 25138: (follow-up) Terminology: Point of sale should use library instead of branch 2020-04-17 13:50:32 +01:00
reports Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
reserve Bug 16547: Do not display "multi holds" view if only one is selected 2020-04-06 10:41:02 +01:00
reviews
rotating_collections Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
serials Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
services
suggestion Bug 25282: Correct Bootstrap dropdown button markup 2020-04-29 16:20:08 +01:00
tags
test
tools Bug 23794: Convert OpacMainUserBlock system preference to news block 2020-05-01 08:17:23 +01:00
virtualshelves Bug 16547: Do not display "multi holds" view if only one is selected 2020-04-06 10:41:02 +01:00
about.tt Bug 25172: Add missing filter 2020-04-22 13:44:16 +01:00
auth.tt
intranet-main.tt Bug 25005: (bug 22868 follow-up) Fix suggestions pending on main page 2020-04-14 08:24:50 +01:00