Skip to content

Commit 25faf65

Browse files
authored
Query: sort columns where name starts with '+' (#86)
1 parent ffb5b40 commit 25faf65

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
## version 7.2.0-SNAPSHOT
44
*Released*: TBD
5-
*
5+
*
6+
7+
## version 7.1.1
8+
*Released*: 10 February 2026
9+
* Explicit "+" sort direction
610

711
## version 7.1.0
812
*Released*: 22 December 2025

src/org/labkey/remoteapi/query/Sort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ public static String getSortQueryStringParam(List<Sort> sorts)
9696
*/
9797
public String toQueryStringParam()
9898
{
99-
return (getDirection() == Sort.Direction.DESCENDING ? "-" : "") + getColumnName();
99+
return (getDirection() == Sort.Direction.DESCENDING ? "-" : "+") + getColumnName();
100100
}
101101
}

0 commit comments

Comments
 (0)