Skip to content

Commit

Permalink
Rename field containing the record ref in a consistent way
Browse files Browse the repository at this point in the history
Signed-off-by: Iuliana Voinea <[email protected]>
  • Loading branch information
Iuliana Voinea committed Nov 30, 2017
1 parent 2f8863a commit 5ab546a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inspirehep/modules/records/receivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@ def populate_bookautocomplete(sender, json, *args, **kwargs):
json.update({
'bookautocomplete': {
'input': input_values,
'output': titles[0],
'payload': {
'authors': authors,
'id': record,
'$ref': record,
'title': titles,
},
},
Expand Down

0 comments on commit 5ab546a

Please sign in to comment.