Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

config: records-ui configuration #52

Merged
merged 1 commit into from
Mar 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion invenio_marc21/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
import copy

from invenio_records_rest.config import RECORDS_REST_ENDPOINTS

from invenio_records_ui.config import RECORDS_UI_ENDPOINTS

MARC21_REST_ENDPOINTS = copy.deepcopy(RECORDS_REST_ENDPOINTS)
MARC21_REST_ENDPOINTS['recid']['search_index'] = 'marc21'

MARC21_UI_ENDPOINTS = copy.deepcopy(RECORDS_UI_ENDPOINTS)
MARC21_UI_ENDPOINTS['recid']['template'] = 'invenio_marc21/detail.html'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
'dojson>=1.3.0',
'invenio-jsonschemas>=1.0.0a2',
'invenio-records-rest>=1.0.0a17',
'invenio-records-ui>=1.0.0a6',
'invenio-records-ui>=1.0.0a8',
]

packages = find_packages()
Expand Down