Skip to content

Commit

Permalink
Fix extended search page
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-ronge committed Sep 11, 2024
1 parent 71706d5 commit d5a847f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public String formQueryForAll() {
*/
public String formQueryForDistinct(String field, boolean sorted) {
StringBuilder query = new StringBuilder(512);
query.append("SELECT DISTINCT ").append(varName).append('.').append(field);
query.append("SELECT DISTINCT ").append(varName).append('.').append(field).append(' ');
innerFormQuery(query);
query.append(" ORDER BY ").append(varName).append('.').append(field).append(" ASC");
return query.toString();
Expand Down

0 comments on commit d5a847f

Please sign in to comment.