Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xml export relies on implicit database ordering #192

Open
BenLubar opened this issue Aug 11, 2015 · 0 comments
Open

xml export relies on implicit database ordering #192

BenLubar opened this issue Aug 11, 2015 · 0 comments

Comments

@BenLubar
Copy link
Contributor

Here's a diff of the English XML export over a period of two days: https://gist.github.com/BenLubar/fa10d1e5f014381b95df

The problem is that the gloss words are only sorted by definition ID and place structure, but when there are multiple gloss words for a single place, the database's internal ordering is used.

Here is the relevant query: https://github.com/lojban/jbovlaste/blob/master/export/xml-export.html#L123-L130

I suggest adding , nlw.word, nlw.meaning to the end of the ORDER BY line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant