Koha/koha-tmpl/intranet-tmpl
Petro Vashchuk 8245bc6f2d Bug 25946: borrowerRelationship can be empty
Do not show the empty dropdown with no options if borrowerRelationship
is disabled (empty) in the syspref.

To reproduce:
    1) Go to system preferences and disable borrowerRelationship.
    2) Create a new patron or modify the existing one.
    3) Under "Guarantor Information" click on "Search to add" button.
    After performing the search, select different patron to act as
    guarantor.
    4) Observe that there's empty dropdown for the relation type.
    5) Apply the patch.
    6) Repeat steps above.
    7) Observe that dropdown is no longer there.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-01 17:06:38 +02:00
..
js Bug 25846: Improve handling of multiple covers on catalog search results in the staff client 2021-03-01 15:14:23 +01:00
lib Bug 27643: Add CodeMirror custom syntax highlighting for SQL runtime parameters 2021-02-08 17:09:34 +01:00
prog Bug 25946: borrowerRelationship can be empty 2021-04-01 17:06:38 +02:00