Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
cb6c5a0a
Commit
cb6c5a0a
authored
Dec 03, 2021
by
Volker Krause
Browse files
Fix certificate ordering when facing invalid dates
parent
77d2127d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/healthcertificatemanager.cpp
View file @
cb6c5a0a
...
...
@@ -191,7 +191,10 @@ bool HealthCertificateManager::certLessThan(const CertData &lhs, const CertData
if
(
lhsDt
==
rhsDt
)
{
return
lhs
.
name
<
rhs
.
name
;
}
return
lhsDt
>
rhsDt
;
if
(
!
lhsDt
.
isValid
())
{
return
false
;
}
return
!
rhsDt
.
isValid
()
||
lhsDt
>
rhsDt
;
#else
return
lhs
.
name
<
rhs
.
name
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment