Bug 21531: Subscription "New fields" button should read "New field"
authorOwen Leonard <oleonard@myacpl.org>
Wed, 10 Oct 2018 12:10:45 +0000 (12:10 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 17:27:38 +0000 (17:27 +0000)
commitbba0044e8ed4cf541d38781950773c1416422b0c
tree63e8e2dcf527e1e36405a15d1091a480e6c2b041
parente8ebdfe95f207eb23d2a50778a9a8d27d13638e4
Bug 21531: Subscription "New fields" button should read "New field"

This patch changes the label of the "New fields" button on the
subscription add fields page to read "New field," making it consistent
with similar buttons in the staff client.

Also changed:

- Add missing id to <select> to make label clickable.
- Remove custom DataTables configuration in favor of defaults.

To test, apply the patch and go to Serials -> Add subscription fields.

- The button in the toolbar should read "New field."
- The DataTables' functionality of the table of existing custom fields
  should be correct.
- Click the "New field" button.
  - Cliking the "Authorised value category" label should put the focus
    on the dropdown.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt