Skip to content

Commit 0644357

Browse files
committed
correction
1 parent 3c763de commit 0644357

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • curation-web/src/main/java/eu/clarin/cmdi/curation/web/controller

curation-web/src/main/java/eu/clarin/cmdi/curation/web/controller/Download.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private void writeDetails(OutputStream outputStream, String providergroupName, C
265265
Query query = !"overall".equalsIgnoreCase(providergroupName)?
266266
em.createNativeQuery(
267267
"""
268-
SELECT NULL AS order_nr, s.*, u.name AS urlname, p.name AS providergroupname, c.origin, uc.expected_mime_type
268+
SELECT NULL AS order_nr, s.*, u.name AS url_name, p.name AS providergroup_name, c.origin, uc.expected_mime_type
269269
FROM status s
270270
INNER JOIN url u ON s.url_id = u.id
271271
INNER JOIN url_context uc ON uc.url_id = u.id
@@ -279,7 +279,7 @@ private void writeDetails(OutputStream outputStream, String providergroupName, C
279279
.setParameter(2, providergroupName):
280280
em.createNativeQuery(
281281
"""
282-
SELECT NULL AS order_nr, s.*, u.name AS urlname, p.name AS providergroupname, c.origin, uc.expected_mime_type
282+
SELECT NULL AS order_nr, s.*, u.name AS url_name, p.name AS providergroup_name, c.origin, uc.expected_mime_type
283283
FROM status s
284284
INNER JOIN url u ON s.url_id = u.id
285285
INNER JOIN url_context uc ON uc.url_id = u.id

0 commit comments

Comments
 (0)