Skip to content

Commit

Permalink
Update add field, add subfield, delete field, delete subfield actions (
Browse files Browse the repository at this point in the history
…#554)

* typo; improve unsaved changes indicators on add field

* update addField and addSubfield methods; reuse for both menu and shortcut actions

Co-authored-by: jbukhari <[email protected]>
  • Loading branch information
jbukhari and jbukhari authored Aug 11, 2022
1 parent 845bc4c commit 85eccff
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 150 deletions.
2 changes: 1 addition & 1 deletion dlx_rest/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def browse(coll):
if request.args.get('type') == 'speech':
index_list = json.dumps(['symbol', 'body', 'speaker', 'agenda', 'related_docs', 'bib_creator'])
elif request.args.get('type') == 'vote':
index_list = json.dumps(['symbol', 'body', 'agenda', 'bib_creation'])
index_list = json.dumps(['symbol', 'body', 'agenda', 'bib_creator'])
else:
logical_fields = getattr(dlx.Config, f"{coll.strip('s')}_logical_fields")
fields = list(logical_fields.keys())
Expand Down
Loading

0 comments on commit 85eccff

Please sign in to comment.