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

Order by primary key as second criterion #1954

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

phl0
Copy link
Contributor

@phl0 phl0 commented Jan 26, 2023

If I enter post QSOs after SAT contacts sometimes there is a QSO with exactly the same time (with accuracy of a minute). The logbook shows contacts sorted by COL_TIME_ON. But when this value is identical for more than one QSOs these QSOs get sorted by COL_PRIMARY_KEY in ascending order it seems. I guess it would make more sense to have it in descending order so that if you log one QSO after another they get displayed in the same order as logged.
Example: I logged M5JFS before DL2GRC but the logbook shows:

Screenshot from 2023-01-26 01-01-02

With this patch it would be sorted correctly:

Screenshot from 2023-01-26 01-00-49

@AndreasK79
Copy link
Contributor

Makes sense. Thumbs up from me.

@magicbug magicbug merged commit 84e689b into magicbug:dev Jan 26, 2023
@phl0 phl0 deleted the secondaryOrderCriteria branch October 16, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants