Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page :
  • 1

SUJET :

How to fix sorting Fact and events? il y a 1 mois 1 semaine #1

  • TheDutchJewel
  • Portrait de TheDutchJewel Auteur du sujet
  • Absent
  • Nouveau membre
  • Nouveau membre
  • Messages : 72
Sometimes (very rarely) I have an issue with the sorting in the Facts and events pane.

Normal presentation is BIRT/OCCU/MARR/DEAT.

But sometimes it happens that OCCU is sorted at the top (OCCU/BIRT/MARR/DEAT).

Here's the raw GEDCOM part:

0 @I6125@ INDI
1 NAME xxxxxxx /xxxxxxxxxxxx/
1 SEX M
1 BIRT
2 DATE xx xxx xxxx
2 PLAC xxxxxxxxxxx
1 FAMS @xxxxx@
1 FAMC @xxxxx@
1 OCCU xxxxxxxxxx, xxxxxxxxxx
1 DEAT
2 DATE xx xxx xxxx
2 PLAC xxxxxxxx, xxxxxxxxx xxxxxx, xxxxxxxxx, xxxxxxxxx xxxxxx

Any ideas how to fix this?
webtrees v2.0.16 with modules (charts by MagicSunday | Rural Theme | Tree View Full Screen | ⚶ Vesta Custom Modules)
webtrees v1.7.18 with Fancy Treeview & PDF module for nice tree view and report

Connexion ou Créer un compte pour participer à la conversation.

Dernière édition: par TheDutchJewel.

How to fix sorting Fact and events? il y a 1 mois 1 semaine #2

Did you try to add a 2 DATE tag to the 1 OCCU tag? If you don't know the exact date you can use about, before, after, between, estimated. See pages 46-48 of the GEDCOM 5.5.1 specification .
Peter

Connexion ou Créer un compte pour participer à la conversation.

How to fix sorting Fact and events? il y a 1 mois 1 semaine #3

  • TheDutchJewel
  • Portrait de TheDutchJewel Auteur du sujet
  • Absent
  • Nouveau membre
  • Nouveau membre
  • Messages : 72
Sir Peter, thank you for your reply.

If I add a date, the sorting is fine, if I remove it the problem is back.

And if I add the indivual with his wife and child to a Clipping chart, and import the clippings.ged into a new tree, the sorting is fine.
So it seems to be a database problem.

But when I exported the complete tree and imported it into a new tree, the sorting problem with this individual is back.

Any ideas how to fix this?
webtrees v2.0.16 with modules (charts by MagicSunday | Rural Theme | Tree View Full Screen | ⚶ Vesta Custom Modules)
webtrees v1.7.18 with Fancy Treeview & PDF module for nice tree view and report

Connexion ou Créer un compte pour participer à la conversation.

Dernière édition: par TheDutchJewel.

How to fix sorting Fact and events? il y a 1 mois 6 jours #4

No idea, sorry. I guess it's code related not database related.
Peter

Connexion ou Créer un compte pour participer à la conversation.

How to fix sorting Fact and events? il y a 1 mois 6 jours #5

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrateur
  • Administrateur
  • Messages : 14515
Are you able to create a minimal GEDCOM file that illustrates the problem?

e.g. use the clippings cart to copy the individual (and family members).

Then delete all the names, sources, and other irrelevant facts.

I have never seen this, and it will be hard to fix without being able to reproduce it.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

How to fix sorting Fact and events? il y a 1 mois 6 jours #6

  • TheDutchJewel
  • Portrait de TheDutchJewel Auteur du sujet
  • Absent
  • Nouveau membre
  • Nouveau membre
  • Messages : 72
Here a minimal GEDCOM file with presentation OCCU/BIRT/MARR:

0 HEAD
1 SOUR webtrees
2 NAME webtrees
2 VERS 2.0.15
1 DEST DISKETTE
1 DATE 09 APR 2021
2 TIME 08:38:32
1 GEDC
2 VERS 5.5.1
2 FORM Lineage-Linked
1 CHAR UTF-8
1 FILE tree1.ged
0 @I2981@ INDI
1 NAME Wife /Name/
1 SEX F
1 FAMS @F2197@
0 @I5530@ INDI
1 NAME Mother /Name/
1 SEX F
1 FAMS @F1890@
0 @I6122@ INDI
1 NAME Father /Name/
1 SEX M
1 FAMS @F1890@
1 DEAT
2 DATE 01 FEB 1818
0 @I6125@ INDI
1 NAME Occu Sorting Issue /Name/
1 SEX M
1 FAMS @F2197@
1 FAMC @F1890@
1 OCCU occupation
1 BIRT
2 DATE 01 JUL 1818
0 @F1890@ FAM
1 HUSB @I6122@
1 WIFE @I5530@
1 CHIL @I6125@
0 @F2197@ FAM
1 HUSB @I6125@
1 WIFE @I2981@
1 MARR
2 DATE 01 JAN 1860
0 TRLR


Here same minimal GEDCOM without MARR date, with presentation MARR/OCCU/BIRT:

0 HEAD
1 SOUR webtrees
2 NAME webtrees
2 VERS 2.0.15
1 DEST DISKETTE
1 DATE 09 APR 2021
2 TIME 08:37:16
1 GEDC
2 VERS 5.5.1
2 FORM Lineage-Linked
1 CHAR UTF-8
1 FILE tree1.ged
0 @I2981@ INDI
1 NAME Wife /Name/
1 SEX F
1 FAMS @F2197@
0 @I5530@ INDI
1 NAME Mother /Name/
1 SEX F
1 FAMS @F1890@
0 @I6122@ INDI
1 NAME Father /Name/
1 SEX M
1 FAMS @F1890@
1 DEAT
2 DATE 01 FEB 1818
0 @I6125@ INDI
1 NAME Occu Sorting Issue /Name/
1 SEX M
1 FAMS @F2197@
1 FAMC @F1890@
1 OCCU occupation
1 BIRT
2 DATE 01 JUL 1818
0 @F1890@ FAM
1 HUSB @I6122@
1 WIFE @I5530@
1 CHIL @I6125@
0 @F2197@ FAM
1 HUSB @I6125@
1 WIFE @I2981@
1 MARR Y
0 TRLR

If I change the father's DEAT to 1819 or later, or delete it, the son's facts will be sorted correctly!

So there seems to be a relation between the DATE of the father's DEAT and the son's BIRT.

And I suppose it's related to this issue (which I couldn't reproduce in the past).
webtrees v2.0.16 with modules (charts by MagicSunday | Rural Theme | Tree View Full Screen | ⚶ Vesta Custom Modules)
webtrees v1.7.18 with Fancy Treeview & PDF module for nice tree view and report

Connexion ou Créer un compte pour participer à la conversation.

Dernière édition: par TheDutchJewel.

How to fix sorting Fact and events? il y a 3 semaines 4 jours #7

I have been assessing V2 over the last few months and a couple of days ago I made V2.0.15 live. I have waited to going live to raise a couple of issues. One issue relates to this topic. A look at the attached screen snip will show an instance of this sorting problem.
Stuart
webtrees 2.0.15 ⚶ Vesta Modules
PHP 7.3.7
Mysqli
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

How to fix sorting Fact and events? il y a 3 semaines 4 jours #8

I have now spent some time discussing and investigating this problem with my son. Having regard to the request from Greg above, we have completed various downloads and uploads of Gedcom clippings into a test family tree. This error was not replicated with any of the Gedcoms uploaded to the Test tree. That is all Facts/Events were sorted and displayed in the correct order.

We have also looked at the "dates" table in the database and selected all records for the relevant individual (d_gid). The dates for all the Facts/Events (d_fact) are correct in the table. There appears to be no errors in the "dates" table database. The error seems to be coming from somewhere other than from the Gedcom related to the specific individual and his family. We therefore have been of little help in isolating the cause of the error shown in the above screen snip.
Stuart
webtrees 2.0.15 ⚶ Vesta Modules
PHP 7.3.7
Mysqli

Connexion ou Créer un compte pour participer à la conversation.

Avez-vous besoin d'une solution d'hébergement web pour votre site webtrees ?
Si vous préférez un hébergeur spécialisé de webtrees, la page suivante en liste quelques-uns capables de vous offrir ce type de service :
  • Page :
  • 1
Propulsé par Kunena