srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 12 forks source link

Weird sort on contained works (dct:isPartOf) #1021

Closed nathangibson closed 7 years ago

nathangibson commented 7 years ago

http://wwwb.library.vanderbilt.edu/exist/apps/srophe/work/9643 lists items 2, 8, 10 and then "see all". It should be items 1, 2, and 3. When you click "see all" the items all display in the correct order. It's as if the list is sorting alphabetically even though the correct number is associated with each item.

What should display is

1 Romans (literary tradition) - ܐܓܪܬܐ ܕܦܘܠܘܣ ܕܠܘܬ ܪ̈ܗܘܡܝܐ
The Epistle to the Romans, one of the Pauline Epistles , is extant in Syriac in two major translations, the Peshitta and the Harqlean (or "Harklensian").URI: http://syriaca.org/work/9594 2 1 Corinthians (literary tradition) - ܐܓܪܬܐ ܕܦܘܠܘܣ ܕܠܘܬ ܩܘܪ̈ܝܢܬܝܐ ܩܕܡܝܬܐ
The First Epistle to the C...URI: http://syriaca.org/work/9595 3 2 Corinthians (literary tradition) - ܐܓܪܬܐ ܕܦܘܠܘܣ ܕܠܘܬ ܩܘܪ̈ܝܢܬܝܐ ܕܬܪܬܝܢ
The Second Epistle to the C...URI: http://syriaca.org/work/9596