@@ -, +, @@ off --- .../html_helpers/tables/items/catalogue_detail.inc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -35,7 +35,7 @@ Materials specified Public notes Non-public notes - Host records + [% IF Koha.Preference('EasyAnalyticalRecords') %]Host records[% END %] [% IF ( analyze ) %]Used in[% END %] [% IF Koha.Preference('UseCourseReserves') %]Course reserves[% END %] [% IF ( SpineLabelShowPrintOnBibDetails ) %]Spine label[% END %] @@ -222,8 +222,10 @@ embed.push('course_item.course_reserves.course'); [% END %] - // For host records - embed.push('biblio.title'); + [% IF Koha.Preference('EasyAnalyticalRecords') %] + // For host records + embed.push('biblio.title'); + [% END %] [% IF analyze %] embed.push('analytics_count'); @@ -659,6 +661,7 @@ return escape_str(row.internal_notes); } }, + [% IF Koha.Preference('EasyAnalyticalRecords') %] { data: "biblio.title", searchable: false, @@ -668,6 +671,7 @@ return '%s'.format(row.biblio_id, row.biblio.title); } }, + [% END %] [% IF analyze %] { data: "analytics_count", --