Skip to content

Commit

Permalink
fix licence comments overload logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Oct 24, 2024
1 parent 549ea97 commit 14e6ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spilo-db/db-scripts/releases/release_5.5_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ AS $procedure$
order by lic.create_timestamp) licence_json,
count(*) num_rows
from mal_licence_comment_vw lic
where COALESCE(lic.irma_number, CAST(lic.licence_number AS varchar)) = ip_licence_number
WHERE (lic.irma_number = ip_licence_number) OR (CAST(lic.licence_number AS varchar) = ip_licence_number)
group by lic.licence_number, lic.licence_type
)
--
Expand Down

0 comments on commit 14e6ad3

Please sign in to comment.