Koha-clms/catalogue
Marcel de Rooy 0040d05a37 Bug 20697: Bind calling GetAnalyticsCount to pref EasyAnalyticalRecords
If you do not use the EasyAnalyticalRecords feature (introduced with
bug 5528), you will have a lot of warnings in zebra-output.log like:

zebrasrv(1096) [request] Search biblios ERROR 114 1 1+0 RPN @attrset Bib-1 @attr 1=8911 259186

They come from C4::Items::GetAnalyticsCount called by catalogue/detail.pl.
This sub starts a Zebra search on index 'hi' (Host-Item-Number).
If you do not use this field at all (related to 773$9 in MARC21), Zebra
returns an Unsupported Use attribute error (114).

In making this change, I added one minor change:
[1] Remove the commented GetAnalyticsCount in additem.pl and correcting
    indentation in that loop (removing tabs). So no change at all there.

NOTE: I will propose to bind the GetHostItemsInfo call in detail.pl and two
other scripts to this preference too on report 20702.

Test plan:
[1] If you use EasyAnalytics, verify that there is no change.
[2] If you do not, check the zebra-output.log. You should no longer see
    searches for Host-Item-Number with 1=8911. (As well as ERROR 114 on
    this index.)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6ad2c1402f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-07-04 09:56:17 +02:00
..
ISBDdetail.pl Bug 19367: $biblio variable redefined in same scope in ISBDdetail 2017-10-09 16:02:54 -03:00
MARCdetail.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
detail.pl Bug 20697: Bind calling GetAnalyticsCount to pref EasyAnalyticalRecords 2018-07-04 09:56:17 +02:00
export.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
getitem-ajax.pl Bug 17843: Replace C4::Koha::getitemtypeinfo with Koha::ItemTypes 2017-07-05 13:42:21 -03:00
image.pl Bug 16259: Replace CGI->param with CGI->multi_param in list context - part 2 2016-05-16 17:28:06 +00:00
imageviewer.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
issuehistory.pl Bug 19334: Circulation history doesn't set biblionumber so left navigation is broken 2017-09-29 12:35:58 -03:00
itemsearch.pl Bug 20067: Fix other checks for linked authorised value categories 2018-04-23 22:31:43 +00:00
labeledMARCdetail.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
moredetail.pl Bug 20067: Fix other checks for linked authorised value categories 2018-04-23 22:31:43 +00:00
search-history.pl Bug 16593: Do not allow patrons to delete search history of others patrons 2016-06-24 11:47:29 +00:00
search.pl Bug 19807: Make IntranetCatalogSearchPulldown honor IntranetNumbersPreferPhrase 2018-01-15 15:26:02 +00:00
showmarc.pl Bug 20083 - Information disclosure when (mis)using the MARC Preview feature 2018-03-26 15:19:26 +00:00
updateitem.pl Bug 12363: Add a switch to mark|do not mark items as returned when lost 2017-10-27 13:57:14 -03:00