-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi,
The most recent commit (2fd4f65) with version 0.8-3 introduced a regression error.
Specifically, my code (run api, run.lua) does
local q = require 'lusty-store.query'()
...
local count = store.options(q)
After upgrading fro 0.8-2 to 0.8-3, the count is now always the entire set of records. (it ignores the options). I tested this with a queries that included either q[field].eq or q.field[is]
I tracked this down to the specific line in colmt.lua
- query = next(query) and query or nil
+ query = query and next(query) or nil
Reverting just this line made the options work properly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels