diff --git a/rero_ils/config.py b/rero_ils/config.py
index 768a21d6a6..50035a59ad 100644
--- a/rero_ils/config.py
+++ b/rero_ils/config.py
@@ -1891,6 +1891,7 @@ def _(x):
'collections',
'contributions',
'documents',
+ 'holdings',
'items',
'item_types',
'ill_requests',
@@ -1954,6 +1955,15 @@ def _(x):
RECORDS_REST_DEFAULT_SORT['circ_policies'] = dict(
query='bestmatch', noquery='name')
+# ------ HOLDINGS SORT
+RECORDS_REST_SORT_OPTIONS['holdings']['library_location'] = dict(
+ fields=['library.pid', 'location.pid'],
+ title='Holdings library location sort',
+ default_order='asc'
+)
+RECORDS_REST_DEFAULT_SORT['holdings'] = dict(
+ query='bestmatch', noquery='library_location')
+
# ------ ITEM TYPES SORT
RECORDS_REST_SORT_OPTIONS['item_types']['name'] = dict(
fields=['item_type_name'], title='Item type name',
diff --git a/rero_ils/modules/documents/templates/rero_ils/_anonymous_button.html b/rero_ils/modules/documents/templates/rero_ils/_anonymous_button.html
new file mode 100644
index 0000000000..c082d67912
--- /dev/null
+++ b/rero_ils/modules/documents/templates/rero_ils/_anonymous_button.html
@@ -0,0 +1,27 @@
+{# -*- coding: utf-8 -*-
+
+ RERO ILS
+ Copyright (C) 2020 RERO
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, version 3 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see