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

Commit

Permalink
config: records-ui configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
  • Loading branch information
lnielsen committed Mar 5, 2017
1 parent 2b5b64a commit 9d287bc
Showing 1 changed file with 4 additions and 1 deletion.
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'

0 comments on commit 9d287bc

Please sign in to comment.