Bug 7107

Summary: 'used in' column on analytics not populating
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED WORKSFORME QA Contact: Bugs List <koha-bugs>
Severity: major    
Priority: P3 CC: 1joynelson, bibliwho, jonathan.druart, koha.sekjal, nick, severine.queune
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15851
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: host
analytic1
analytic2

Description Nicole C. Engard 2011-10-27 15:40:01 UTC
I have added records two ways.  The first:

Catalog a record using fast add
Click edit and choose to link to host
Enter host Barcode and click okay
Reindex search engine
Look at host record 
Click Analytics tab on left
Nothing in used in column

The other way was to use the default framework when cataloging, but following all the same steps.
Comment 1 Jared Camins-Esakov 2011-10-27 16:51:14 UTC
This is definitely a problem, and one I can't reproduce. And you're sure it wasn't just an indexing lag?
Comment 2 Nicole C. Engard 2011-11-05 19:18:13 UTC
Now several days later (and after changing my 'UseControlNumber' preference I still have this issue).
Comment 3 Jared Camins-Esakov 2011-11-05 19:21:51 UTC
Does your framework have 773$0 and 773$9?
Comment 4 Nicole C. Engard 2011-11-05 19:35:29 UTC
Yes, but they are hidden - does that matter?
Comment 5 Jared Camins-Esakov 2011-11-05 19:38:05 UTC
It shouldn't, no. This definitely sounds like a good. Attach the host and analytic records to this ticket so I can take a look?
Comment 6 Nicole C. Engard 2011-11-05 19:41:33 UTC
Created attachment 6228 [details]
host

don't judge me on the cataloging - these were test records for writing the manual :)
Comment 7 Nicole C. Engard 2011-11-05 19:41:49 UTC
Created attachment 6229 [details]
analytic1
Comment 8 Nicole C. Engard 2011-11-05 19:42:02 UTC
Created attachment 6230 [details]
analytic2
Comment 9 Nicole C. Engard 2012-12-05 00:14:35 UTC
*** Bug 9200 has been marked as a duplicate of this bug. ***
Comment 10 Nicole C. Engard 2012-12-05 00:15:09 UTC
This is version 3.6, 3.8, 3.10 and master.
Comment 11 Joy Nelson 2015-05-18 16:24:12 UTC
On a site that is 3.18.06  I am seeing the 'Used in X analytic' data in the column.  However the link is invalid.  The link has this language:
 /cgi-bin/koha/catalogue/search.pl?idx=hi&q=181290


The 181290 is the item number.  The itemnumber is not in the HI (hostitem) index.  When the link is clicked, no results are returned.

Joy


(In reply to Nicole C. Engard from comment #10)
> This is version 3.6, 3.8, 3.10 and master.
Comment 12 Katrin Fischer 2019-04-28 22:54:37 UTC
Is this still valid? It's marked major but has seen no action since 2015.
Comment 13 Nick Clemens (kidclamp) 2022-05-26 14:16:03 UTC
 677   <!--record.abs line 248: melm 773$9       Host-Item-Number-->
 678   <index_subfields tag="773" subfields="9">
 679     <target_index>Host-Item-Number:w</target_index>
 680   </index_subfields>

Works for me in both ES and Zebra

(In reply to Joy Nelson from comment #11)
> On a site that is 3.18.06  I am seeing the 'Used in X analytic' data in the
> column.  However the link is invalid.  The link has this language:
>  /cgi-bin/koha/catalogue/search.pl?idx=hi&q=181290
> 
> 
> The 181290 is the item number.  The itemnumber is not in the HI (hostitem)
> index.  When the link is clicked, no results are returned.
> 
> Joy
> 
> 
> (In reply to Nicole C. Engard from comment #10)
> > This is version 3.6, 3.8, 3.10 and master.