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 -- *Hugo Agud - Orex Digital * *www.orex.es <http://www.orex.es>* <http://www.orex.es/> [image: http://orex.es] <http://orex.es> <http://www.orex.es> Director Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70 hagud@orex.es · http://www.orex.es/ No imprima este mensaje a no ser que sea necesario. Una tonelada de papel implica la tala de 15 árboles y el consumo de 250.000 litros de agua. Aviso de confidencialidad Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni está autorizado a recibirlo por el remitente), no está autorizado a copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.
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
participants (2)
-
Hugo Agud -
Katrin Fischer