@@ -, +, @@ --- api/v1/swagger/definitions/item.yaml | 4 ++++ api/v1/swagger/paths/biblios.yaml | 1 + catalogue/detail.pl | 4 ---- .../prog/en/modules/catalogue/detail.tt | 13 +++++++------ 4 files changed, 12 insertions(+), 10 deletions(-) --- a/api/v1/swagger/definitions/item.yaml +++ a/api/v1/swagger/definitions/item.yaml @@ -242,6 +242,10 @@ properties: type: - object - "null" + biblio: + type: + - object + - "null" checkout: type: - object --- a/api/v1/swagger/paths/biblios.yaml +++ a/api/v1/swagger/paths/biblios.yaml @@ -423,6 +423,7 @@ type: string enum: - +strings + - biblio.title - checkout - checkout.patron - transfer --- a/catalogue/detail.pl +++ a/catalogue/detail.pl @@ -198,9 +198,6 @@ my $items_params = { my $all_items = $biblio->items($items_params); my $items_to_display = $all_items->search({ $include_lost_items ? () : ( itemlost => 0 ) }); -# flag indicating existence of at least one item linked via a host record -my $hostrecords = $biblio->host_items->count; - my $dat = &GetBiblioData($biblionumber); #is biblio a collection and are bundles enabled @@ -354,7 +351,6 @@ $template->param( $template->param( MARCNOTES => !$invalid_marc_record ? $biblio->get_marc_notes() : undef, z3950_search_params => C4::Search::z3950_search_args($dat), - hostrecords => $hostrecords, C4::Search::enabled_staff_search_views, ); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -368,7 +368,7 @@