Comments (2)
Good question; note that the sorting has to be done in the backend, as the items are only fetched page-wise. Can you please check the API docs on Swagger to see if the sorted
keyword allows to sort by those fields? I don't remember, honestly. If not, we would have to fix it there.
from gramps-web.
Oh, I haven't thought about, that all sorting is done server side. Still a small analysis of all the mentioned cases:
People → Given name
Indeed, one can only sort on
field | desc |
---|---|
name | The sort name of the person |
surname | The surname of the person, taking into consideration the given name and suffix for people who share the same surname |
Even though I'm not exactly sure how both work, it looks like the given name is not included.
Families → mother
Currently, when sorting on father
, this is used:
Key | Description |
---|---|
surname | The surname of the father or, if none present, the mother of the family taking into consideration the given name and suffix for families who share the same surname |
And it seems there is no specific sort parameter which prefers the mother.
Citations → Source: Title
There is no option to sort on the source title which comes from a nested resource anyway.
All in all, Gramps.js can't really do anything in all the cases above. The webapi would need to support more fields to sort on.
I will close this issue.
from gramps-web.
Related Issues (20)
- The home person component should update when the home person is set for the first time HOT 2
- Weblate not pulling new strings? HOT 1
- Filter map
- Glitch in improved map search box in Firefox HOT 1
- Color code for gender HOT 6
- Problems connecting web sync
- Add tree ID, username and permissions level to System Information
- Login page needs a Tree Identifying title and Privacy Policy link HOT 1
- Demo is not resetting Users and is refusing to commit changes HOT 2
- Requesting a "Lost Password" reminder has misleading error message when no eMail address is known
- Lag in response (or feedback) to "RESET PASSWORD" click leads to 2nd click and "Error: Error 429" message
- 500 error when viewing a place with a deleted encloser HOT 5
- Make researcher details accessible HOT 1
- Media title not shown in media reference HOT 1
- Dev Setup: Api-Container issue with example gramps file HOT 2
- Weblate not pushing? HOT 4
- Option to change display format for name in graph views HOT 2
- Relationship graph syntax error HOT 11
- Error when a link to a MediaObject is added to a notation for a Blog HOT 2
- Import assertion syntax deprecated HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gramps-web.