https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15851
Hugo Agud <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #106261|0 |1 is obsolete| | --- Comment #42 from Hugo Agud <[email protected]> --- Created attachment 106822 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106822&action=edit Bug 15851: Only display the analytics link when required This patch makes opac-detail.pl query for analytics the same way it would do with the generated link (i.e. based on UseControlNumber) and passes a flag to the XSLT so it displays (or not) the 'Analytics' link. To test: 1. Apply the first patch 2. Have a known record without analytics 3. Open the record in the OPAC => FAIL: It shows the 'Analytics' link 4. Have a record known to have analytics and open in OPAC, on a separate tab => SUCCESS: It shows the 'Analytics' link 5. Apply this patch and restart_all 6. Reload the tabs => SUCCESS: It shows the link where it has to, and hides it where it shouldn't be displayed 7. Sign off :-D Sponsored-by: Orex Digital Signed-off-by: Your Full Name <your_email> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
