You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment:
Windows 10 PC
Gramps AIO on Windows 10 to maintain Family Tree
Docker for Windows running gramps-webapi image
Gramps.js for front end
Issue:
Some places do not show a Place Title in the gramps.js interface. I have noted this behavour with Place types of Street and Number. I am not totally clear if this is gramps.js, a gramps-webapi issue, or my data.
Expected Behaviour
In the snippet from Gramps.js image below, I would expect the number "56" to appear instead of the word "Place".
If in Gramps Preferences Place Formatting is set to "Street Numbering", I think I would expect the value to be "56 Shannon St", instead of "Place".
Thanks! You are right. Gramps.js only uses the "title" field, which is empty here. It should rather use the "name". However that's a bit more tricky because there can be several names with different dates...
In any case, I think it's not a Web API issue. Unfortunately I cannot transfer it. I will link it instead.
Environment:
Windows 10 PC
Gramps AIO on Windows 10 to maintain Family Tree
Docker for Windows running gramps-webapi image
Gramps.js for front end
Issue:
Some places do not show a Place Title in the gramps.js interface. I have noted this behavour with Place types of Street and Number. I am not totally clear if this is gramps.js, a gramps-webapi issue, or my data.
Expected Behaviour
In the snippet from Gramps.js image below, I would expect the number "56" to appear instead of the word "Place".
If in Gramps Preferences Place Formatting is set to "Street Numbering", I think I would expect the value to be "56 Shannon St", instead of "Place".
API output for 56, Shannon St, Toronto, Ontario, Canada -
http://localhost:5000/api/places/e8849fcdd686a3ee0877248f9cd
{"alt_loc": [], "alt_names": [], "change": 1607438604, "citation_list": [], "code": "", "gramps_id": "P0471", "handle": "e8849fcdd686a3ee0877248f9cd", "lat": "43.6529981", "long": "-79.4246912", "media_list": [], "name": {"date": {"calendar": 0, "dateval": [0, 0, 0, false], "format": null, "modifier": 0, "newyear": 0, "quality": 0, "sortval": 0, "text": "", "year": 0}, "lang": "", "value": "56"}, "note_list": [], "place_type": "Number", "placeref_list": [{"date": {"calendar": 0, "dateval": [0, 0, 0, false], "format": null, "modifier": 0, "newyear": 0, "quality": 0, "sortval": 0, "text": "", "year": 0}, "ref": "e9e9c0fe5ba1230c73dec27a017"}], "private": false, "tag_list": [], "title": "", "urls": []}
The text was updated successfully, but these errors were encountered: