Skip to content

Commit

Permalink
Fixed: Inequality with angle brackets <> doesn't work #199
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Jan 15, 2025
1 parent 870d7b1 commit cc2e04f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ving/docs/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ outline: deep
* Implemented: apis should use plurals #183
* 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.
* Implemented: page generator should link to parent objects in the statistics section #158
* Implemented useCurrentUser() now has isRole() and isaRole() #202
* Implemented: useCurrentUser() now has isRole() and isaRole() #202
* Fixed: Inequality with angle brackets <> doesn't work #199

### 2025-01-12
* Removed pulumi from the project.
Expand Down
2 changes: 1 addition & 1 deletion ving/utils/rest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const describeListWhere = (event, filter) => {
}
const matchColumn = filter.qualifiers.find(col => col.drizzleColumn.name == key);
if (matchColumn) {
const matchOp = value.toString().match(/^(>|<|>=|<=|!=|<>)?(.+)$/);
const matchOp = value.toString().match(/^(|>=|<=|!=|<>|>|<)?(.+)$/);
if (matchOp) {
const data = fixColumnData(matchColumn, matchOp[2]);
switch (matchOp[1]) {
Expand Down

0 comments on commit cc2e04f

Please sign in to comment.