{"action":"created","issue":{"url":"https://api.github.com/repos/geneanet/geneweb/issues/20","labels_url":"https://api.github.com/repos/geneanet/geneweb/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/geneanet/geneweb/issues/20/comments","events_url":"https://api.github.com/repos/geneanet/geneweb/issues/20/events","html_url":"https://github.com/geneanet/geneweb/issues/20","id":61898243,"number":20,"title":"Male and female lines should not be limited to 7 generations","user":{"login":"GuillaumeBrochu","id":11491888,"avatar_url":"https://avatars.githubusercontent.com/u/11491888?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeBrochu","html_url":"https://github.com/GuillaumeBrochu","followers_url":"https://api.github.com/users/GuillaumeBrochu/followers","following_url":"https://api.github.com/users/GuillaumeBrochu/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeBrochu/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeBrochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeBrochu/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeBrochu/orgs","repos_url":"https://api.github.com/users/GuillaumeBrochu/repos","events_url":"https://api.github.com/users/GuillaumeBrochu/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeBrochu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-03-15T20:54:29Z","updated_at":"2016-01-04T16:35:32Z","closed_at":null,"body":"In the current master branch(6.08 exp),\r\n\r\nIn the ancestry page of a person, the male and female lines are limited to 7 people, no matter the choice in the \"select gerenation\" list.\r\n\r\nThis limitation normally only applies to trees (to avoid oversized and ultrawide trees), but not to male and female lines (no risk of a too wide page).\r\n\r\nThis regression appeared between release 6.05 (the last one I used) and the current master branch (6.08 exp). In 6.05, I was able to display male and female lines for up to 20 generations.\r\n\r\nHowever, I don't have this bug on geneanet.org, so I guess the 7.0 branch does not have the bug. Furthermore, if I copy everything after the \"?\" in the url of a male line generated on geneanet (which displays the male line correctly) and paste it on my local 6.08exp copy, I only see a 7 generation male line.  "},"comment":{"url":"https://api.github.com/repos/geneanet/geneweb/issues/comments/168726650","html_url":"https://github.com/geneanet/geneweb/issues/20#issuecomment-168726650","issue_url":"https://api.github.com/repos/geneanet/geneweb/issues/20","id":168726650,"user":{"login":"GuillaumeBrochu","id":11491888,"avatar_url":"https://avatars.githubusercontent.com/u/11491888?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeBrochu","html_url":"https://github.com/GuillaumeBrochu","followers_url":"https://api.github.com/users/GuillaumeBrochu/followers","following_url":"https://api.github.com/users/GuillaumeBrochu/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeBrochu/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeBrochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeBrochu/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeBrochu/orgs","repos_url":"https://api.github.com/users/GuillaumeBrochu/repos","events_url":"https://api.github.com/users/GuillaumeBrochu/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeBrochu/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T16:35:32Z","updated_at":"2016-01-04T16:35:32Z","body":"Parfait, l'approche générale me semble bonne.\r\n\r\nPar contre, pour les lignées agnatiques et cognatiques, je proposerais plutôt (les autres lignes restant identiques): \r\n```\r\nmin(evar.v,  8)\r\n```\r\net\r\n```\r\nmin(evar.v, bvar.max_anc_level)\r\n```\r\n\r\ncar, tel que mentionné ici (https://github.com/geneanet/geneweb/issues/20#issuecomment-168690282, 3e et 4e paragraphes), max_anc_level n'est pas pertinent pour ces listes (il est seulement pertinent pour les arbres), et de plus la valeur pour bvar.max_anc_level dans les .gwf \"par défaut\" est généralement 8 et non 7. \r\n\r\n```\r\nmax_anc_level=8\r\nmax_desc_level=12\r\nmax_anc_tree=7\r\nmax_desc_tree=4\r\n```\r\n\r\nAinsi, le code serait encore plus clair et cohérent avec ce qui existe déjà, mais ce que tu proposes est tout aussi fonctionnel et corrige le bug.\r\n\r\nPour les autres questions, je ne saurais répondre plus que ceci : http://www.geneanet.org/forum/?topic=530627.msg1045775#msg1045775\r\n\r\nSi j'ai bien compris, tu me laisse l'opportunité de m'essayer pour le pull request?"}}