Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Adam Styles 0733ba2075 Bug 30159: Fix Check() to validate both mandatory and important fields
This patch adds a check for both mandatory and important fields when
validating bibliographic records during cataloguing.

To test:

1. Go to Admin -> Biblio frameworks. View the MARC structure of your
   default framework.
2. Search for tag 082. Edit the subfields for this tag.
3. Check the 'important' checkbox for subfield a and Save.
4. Go to add or edit a new biblio record under Cataloguing.
5. Ensure the 082$a field is empty and hit Save.
6. Notice the confirmation pop-up is an unreadable display of HTML.
7. Click Cancel on the pop-up box.
8. Apply the patch and refresh the editor page.
9. Ensure the 082$a field is empty and hit Save.
10. Notice the confirmation pop-up is more helpful this time. Click
    Cancel on the pop-up box.
11. Notice the 082$a field is displayed at the top of the page as an
    important field that is missing information. Use the 'go to field'
    link and confirm this works as expected.
12. Leave 082$a empty and hit Save.
13. This time click OK on the confirmation pop-up. Confirm you are able
    to save your record as normal.

Sponsored-by: Education Services Australia SCIS

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-15 22:30:50 -10:00
..
acqui Bug 29287: Add child funds to display of parent funds on acqui home 2022-03-01 22:47:46 -10:00
admin Bug 19532: (follow-up) Fix calls, tests, syspref settings, checks 2022-03-14 22:45:51 -10:00
authorities Bug 29965: (follow-up) Use a new class for the preview 2022-02-23 22:05:33 -10:00
basket
batch
catalogue Bug 19532: Recalls on intranet 2022-03-14 22:45:51 -10:00
cataloguing Bug 30159: Fix Check() to validate both mandatory and important fields 2022-03-15 22:30:50 -10:00
circ Bug 19532: Recalls on intranet 2022-03-14 22:45:51 -10:00
clubs Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
common
course_reserves
errors
ill Bug 29514: Remove extraneous HTML entity from breadcrumbs 2021-12-01 21:38:12 -10:00
installer Bug 27823: List upcoming steps during installation process 2021-11-03 15:40:52 +01:00
labels Bug 29824: Allow editing of quick spine labels 2022-02-24 14:35:36 -10:00
mana
members Bug 19532: Recalls on intranet 2022-03-14 22:45:51 -10:00
offline_circ
onboarding Bug 28982: Use Flatpickr on onboarding pages 2021-11-03 15:40:53 +01:00
patron_lists
patroncards Bug 28576: Update the maximum size of an image. 2022-02-14 21:41:38 -10:00
plugins
pos Bug 27801: Fix javascript price calculations 2021-12-15 12:15:00 -10:00
recalls Bug 19532: (follow-up) Fixing OPAC display and staff client errors 2022-03-14 22:45:51 -10:00
reports Bug 29876: (follow-up) Change "Report number" to "Report ID" 2022-02-22 22:27:29 -10:00
reserve Bug 19532: Recalls on intranet 2022-03-14 22:45:51 -10:00
reviews
rotating_collections
serials Bug 26257: Move translatable strings out of subscription-add.tt and into subscription-add.js 2022-02-14 21:41:38 -10:00
services Bug 29496: (bug 27526 follow-up) Fix item form validation 2021-11-19 15:07:10 +01:00
suggestion Bug 24370: (QA follow-up) Make new suggestions default to the library you re viewing 2021-11-02 14:57:04 +01:00
tags
test
tools Bug 19532: Recalls on intranet 2022-03-14 22:45:51 -10:00
virtualshelves Bug 28782: Use query param list instead of splitting elements using '/' 2022-03-03 16:11:50 -10:00
about.tt Bug 29960: Remove Modernizr dependency in the OPAC 2022-02-16 21:52:51 -10:00
auth.tt Bug 29487: Set autocomplete off for userid/password fields at login 2021-12-01 21:57:36 -10:00
intranet-main.tt Bug 29571: Display all pending suggestions even if none from logged in library 2022-01-03 20:58:36 -10:00