upenndigitalscholarship / deep

MIT License
3 stars 1 forks source link

Ordering of DEEP number links in the Variants display should be in ascending numerical order #140

Closed ZacharyLesser closed 1 year ago

ZacharyLesser commented 1 year ago

Same basic issue as was fixed for Collection Contains. When a series of variants are linked in the Variants display, they should be shown in ascending numerical order, with each one separated by a semicolon. For example:

" ....... See also DEEP 5083; 5084; 5085; 5086"

apjanco commented 1 year ago

This can be fixed in search_index.py line 50 just add order_by('deep_id') similar to line 60

ZacharyLesser commented 1 year ago

Created a new branch and a pull request for this