Skip to content

Commit

Permalink
Fix cover URL calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Jun 28, 2024
1 parent f811741 commit 6a569ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/services/coa/issue-details/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ SELECT publicationcode,
issuecode,
issuenumber,
title,
(SELECT CONCAT(IF(sitecode = 'thumbnails', IF (url REGEXP '^\d', 'webusers', ''), sitecode), '/', url) AS fullUrl
(SELECT CONCAT(IF(sitecode = 'thumbnails', IF (url REGEXP '^[0-9]', 'webusers', ''), sitecode), '/', url) AS fullUrl
FROM inducks_entry
INNER JOIN inducks_entryurl ON inducks_entry.entrycode = inducks_entryurl.entrycode
WHERE inducks_entry.issuecode = inducks_issue.issuecode
Expand Down

0 comments on commit 6a569ea

Please sign in to comment.