BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

Links not working for links that refer to a range of segment numbers #346

Open ayya-vimala opened 4 days ago

ayya-vimala commented 4 days ago

This happens in numbers view, text view middle column and table view.

When there is a range of segment numbers indicated, for instance as in the below example PA_vv_4:0.4–9.1, the link goes to ../db/pa/PA_vv_4/text?active_segment=PA_vv_4:0.4%E2%80%939.1 which it cannot find. This should be split on the and the link should go only to the first mentioned segment number as active segment: ../db/pa/PA_vv_4/text?active_segment=PA_vv_4:0.4

Image