LP#1848975 - open-ils.search.biblio.record.mods_slim.retrieve Array warning user/stompro/lp1848975_mods_slim_array_warning
authorJosh Stompro <stompro@stompro.org>
Wed, 26 Feb 2020 16:48:06 +0000 (10:48 -0600)
committerJosh Stompro <stompro@stompro.org>
Wed, 26 Feb 2020 16:48:06 +0000 (10:48 -0600)
commitc0e0fc8944ece0df86db1e8fd2cfe7e04b5bb490
treea4d3e64c43544487d541f2220ef00c81b7d8900c
parent05a0118911e9d94d47e0038330487e6d35419a05
LP#1848975 - open-ils.search.biblio.record.mods_slim.retrieve Array warning

When calling open-ils.search.biblio.record.mods_slim.retrieve with an
array of record ids, there is a warning because the wrong comparison
operator is used.  Using eq instead of == fixes the warning.

Testing can be done with srfsh and a command like

srfsh# request open-ils.search open-ils.search.biblio.record.mods_slim.retrieve [102916]

Check the logs for the warning, and then lack of warning.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm