Skip to content

Commit cc2e04f

Browse files
committed
Fixed: Inequality with angle brackets <> doesn't work #199
1 parent 870d7b1 commit cc2e04f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ving/docs/change-log.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ outline: deep
1313
* Implemented: apis should use plurals #183
1414
* NOTE: rest endpoints and pages use plurals like /users instead of /user now. This is a breaking change. Update your APIs and pages to use plurals.
1515
* Implemented: page generator should link to parent objects in the statistics section #158
16-
* Implemented useCurrentUser() now has isRole() and isaRole() #202
16+
* Implemented: useCurrentUser() now has isRole() and isaRole() #202
17+
* Fixed: Inequality with angle brackets <> doesn't work #199
1718

1819
### 2025-01-12
1920
* Removed pulumi from the project.

ving/utils/rest.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const describeListWhere = (event, filter) => {
7171
}
7272
const matchColumn = filter.qualifiers.find(col => col.drizzleColumn.name == key);
7373
if (matchColumn) {
74-
const matchOp = value.toString().match(/^(>|<|>=|<=|!=|<>)?(.+)$/);
74+
const matchOp = value.toString().match(/^(|>=|<=|!=|<>|>|<)?(.+)$/);
7575
if (matchOp) {
7676
const data = fixColumnData(matchColumn, matchOp[2]);
7777
switch (matchOp[1]) {

0 commit comments

Comments
 (0)