Mercurial > hg > orthanc-databases
changeset 635:fa94274d15c3
Removed duplicate comparison in find SQL queries
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 03 Feb 2025 14:40:42 +0100 |
parents | 69a223b5a8d5 |
children | a79bfa4910c9 |
files | Framework/Plugins/ISqlLookupFormatter.cpp PostgreSQL/NEWS |
diffstat | 2 files changed, 13 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Plugins/ISqlLookupFormatter.cpp Wed Jan 29 12:42:13 2025 +0100 +++ b/Framework/Plugins/ISqlLookupFormatter.cpp Mon Feb 03 14:40:42 2025 +0100 @@ -1043,11 +1043,6 @@ comparisons += " AND " + comparison; } - if (!comparison.empty()) - { - comparisons += " AND " + comparison; - } - count ++; } }
--- a/PostgreSQL/NEWS Wed Jan 29 12:42:13 2025 +0100 +++ b/PostgreSQL/NEWS Mon Feb 03 14:40:42 2025 +0100 @@ -1,6 +1,19 @@ Pending changes in the mainline =============================== +DB schema revision: 3 +Minimum plugin SDK (for build): 1.12.5 +Optimal plugin SDK (for build): 1.12.5 +Minimum Orthanc runtime: 1.12.5 +Optimal Orthanc runtime: 1.12.6 + +Minimal Postgresql Server version: 9 +Optimal Postgresql Server version: 11+ + + +Maintenance: +* Removed duplicate comparison in find SQL queries. + Release 7.1 (2025-01-23)