]> git.koha-community.org Git - koha.git/commit
Bug 32648: Avoid skipping record or hiding item
authorNick Clemens <nick@bywatersolutions.com>
Fri, 31 Mar 2023 10:44:45 +0000 (10:44 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 11:13:37 +0000 (13:13 +0200)
commit3db7173dde0c8221c3628a0624c45f08d3f256fe
tree094a4cc0158ca858119741c68d6f83a46f3e55fa
parent320a4b4d74f5b4d76adb58e45865e54000a3bb4b
Bug 32648: Avoid skipping record or hiding item

It seems that depending on other tests, the item could be hidden from the record, or
the entire record hidden because of the way we count hidden items.

I add a mock for the two HIddenItems prefs and hardcode an xml record
to avoid problematic data from test builder

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/Search.t