Bug 31179: (QA follow-up) Set field as hidden for tests

We want the tests to pass in the case where field is set to visibile in Koha

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-07-19 15:26:51 +00:00 committed by Tomas Cohen Arazi
parent 0596405660
commit d24cb97b06
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -387,6 +387,14 @@ sub setup_mss {
}
)->update( { repeatable => 0 } );
Koha::MarcSubfieldStructures->search(
{
frameworkcode => '',
tagfield => $itemtag,
tagsubfield => ['l'],
}
)->update( { hidden => -4 } );
Koha::MarcSubfieldStructures->search(
{
frameworkcode => '',