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

Fix list size option in the top surnames gramplet #1780

Conversation

DaveSch-gramps
Copy link
Contributor

Allow users to specify how many surnames appear in the list from 10 to 1000

from discourse

https://gramps.discourse.group/t/diversely-transliterated-sur-names-and-statistics/5768/8

@DaveSch-gramps
Copy link
Contributor Author

DaveSch-gramps commented Sep 30, 2024

Bug #13448

@Nick-Hall Nick-Hall added the bug label Oct 3, 2024
@hgohel
Copy link
Member

hgohel commented Oct 5, 2024

@DaveSch-gramps Do you have Black installed locally? Running that on the source file will eliminate the lint check failure.

@DaveSch-gramps
Copy link
Contributor Author

No to Black. I am not a real coder. I modified code I found in LastModified to achieve the menu options.

I just use Github Desktop for Windows and Atom. I do understand Atom is no longer supported.

@hgohel
Copy link
Member

hgohel commented Oct 5, 2024

No to Black.

No worries. Looks like Black would like to see two empty lines after `NUM_SURNAMES =" and there's only one right now. Simple fix.

@DaveSch-gramps
Copy link
Contributor Author

Line added and both checks are green!

Allow users to specify how many surnames appear in the list from 10 to 1000

Fixes #13448
@Nick-Hall Nick-Hall changed the title Update topsurnamesgramplet.py Fix list size option in the top surnames gramplet Dec 17, 2024
@Nick-Hall Nick-Hall merged commit af88f33 into gramps-project:maintenance/gramps52 Dec 17, 2024
2 checks passed
@DaveSch-gramps DaveSch-gramps deleted the Topsurname-config branch December 18, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants