]> git.koha-community.org Git - koha.git/commit
Bug 8643: Code cleanup
authorMaryse Simard <maryse.simard@inlibro.com>
Mon, 13 Jan 2020 16:21:09 +0000 (11:21 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 11 Feb 2020 14:33:57 +0000 (14:33 +0000)
commit1547e7c9921b78204a79e124c32453089bb5f963
tree3492834311236b4138267db5ce887c39438bae97
parent339c27ca807de2966101ec9d2cafc30dccdea332
Bug 8643: Code cleanup

Merges "AreMandatoriesNotOk" and new "AreImportantsNotOk" into one
function "AreFieldsNotOk". It can search for mandatory or important
fields depending on the value of it's boolean "mandatory"
parameter.

To test:
This patch should not change current behavior.
Follow the test plan from previous patch and check that saving is
still prevented for unfilled mandatory fields.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt