diff --git a/api/v1/swagger/paths/acquisitions_baskets.yaml b/api/v1/swagger/paths/acquisitions_baskets.yaml index 0adf26de00..4767ac155e 100644 --- a/api/v1/swagger/paths/acquisitions_baskets.yaml +++ b/api/v1/swagger/paths/acquisitions_baskets.yaml @@ -23,6 +23,7 @@ type: string enum: - extended_attributes + - library collectionFormat: csv produces: - application/json diff --git a/api/v1/swagger/paths/acquisitions_funds.yaml b/api/v1/swagger/paths/acquisitions_funds.yaml index 174b52d4d4..0aa0f21083 100644 --- a/api/v1/swagger/paths/acquisitions_funds.yaml +++ b/api/v1/swagger/paths/acquisitions_funds.yaml @@ -83,6 +83,7 @@ type: string enum: - extended_attributes + - library collectionFormat: csv produces: - application/json @@ -135,6 +136,7 @@ type: string enum: - extended_attributes + - library collectionFormat: csv produces: - application/json diff --git a/api/v1/swagger/paths/erm_users.yaml b/api/v1/swagger/paths/erm_users.yaml index 2798062416..ad559198de 100644 --- a/api/v1/swagger/paths/erm_users.yaml +++ b/api/v1/swagger/paths/erm_users.yaml @@ -23,6 +23,7 @@ type: string enum: - extended_attributes + - library collectionFormat: csv produces: - application/json diff --git a/api/v1/swagger/paths/suggestions.yaml b/api/v1/swagger/paths/suggestions.yaml index 2058bb82bf..94f9a3b529 100644 --- a/api/v1/swagger/paths/suggestions.yaml +++ b/api/v1/swagger/paths/suggestions.yaml @@ -260,6 +260,7 @@ type: string enum: - extended_attributes + - library collectionFormat: csv produces: - application/json diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc index ae27dd09ba..69b472d97b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc @@ -37,7 +37,7 @@ } if ( name.replace(' ', '').length == 0 ) { - return _("A patron from library %s".format(patron.library.name)); + return _("A patron from %s".format(patron.library.name)); } if ( config && config.hide_patron_name ) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index a0d53600e3..d238a31cb3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -381,7 +381,7 @@ [% default_sort_column = "name" %] [% END %] [% SET order_column_index = 0 %] - [% SET embed = ['extended_attributes'] %] + [% SET embed = ['extended_attributes','library'] %] patrons_table = $("#[% table_id | html %]").kohaTable({ "ajax": { "url": patron_search_url,