Skip to content

Commit

Permalink
select_clause() does not include the collection handle prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Jan 16, 2024
1 parent 74d47e0 commit 58040eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/csv_exporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def select_clause(elements)
# collection_handles column
columns << "array_to_string(
array(
SELECT CONCAT('#{Handle.prefix}/', h.suffix) AS suffix
SELECT h.suffix AS suffix
FROM handles h
LEFT JOIN collection_item_memberships cim ON cim.item_id = items.id
WHERE cim.item_id = items.id
Expand Down

0 comments on commit 58040eb

Please sign in to comment.