Hi Hugo, your analysis is correct, currently the code only shows the 'show analytics' link for serials. It would be easy to change that, to always show the link or have a separate link with another different class so that you decide to hide hide/show them easily. I think there is no way to tell from the MARC record if there are existing analytics for it. It could also be nice to show more information - like how many analytics are linked to a record or even the first few titles with a 'more' link. There has been some work on a feature for this a while ago: Bug 11175 - Show the parent record's component parts in the detailed views http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11175 Hope this helps, Katrin Am 12.01.2016 um 13:38 schrieb Hugo Agud:
Good morning
we have found a strange behaviour of show analytics in Koha, checking the code it seems that OPAC shows the link 'Show analytics" based on position leader 7 = s
In fact that position shows define the record as is a serial, but it can include analytics or not.
For other instances we have modified the code to check another field, one used when we add some analytics to the record, but it is a little weird.
I wish to ask you how other sites are mananing the link to analytics from the hosting record, let koha shows always the link? or have you got any tip to show only if analytics are catalogued.
We have checked this behaviour in version 3.14.7 and in 3.22.x, I guess it is in all versions of koha.
Thanks you in advance Hugo