Closed compjuicer closed 6 years ago
Hi @compjuicer,
Thank you for your collab 🥇 . Could you review this PR and do the following actions?
Really thank you for your collaboration.
Cheers,
Hi Camila, I'm not sure why the CI fails, I don't think I touched any code related to that and couldn't really decipher the error message either: "Fatal error: If encoding is specified then the first argument must be a string".
@compjuicer yes, CI error not very helpful. From a bit search it looks like this may be a bug in one of the dependencies we're using - perhaps the version of archiver
- @grdryn do you have any thoughts ?
@compjuicer You are absolutely correct, the CI failure is not due to your changes.
@compjuicer I've fixed the CI issue, so if you rebase these changes the job should pass for you now.
I have test out this change to fh-db locally and it works perfectly. Next step is to test this change across multiple scenarios (non-upgraded and upgraded db) and adding it to fh-ditch
When adding multiple restrictions for the same field, e.g. "gt" and "lt" on a field containing a unix timestamp to search within a range, only the last restriction is used in the query. The restrictions for the field do not build up in the query object, instead they overwrite eachother, leaving only the last one active.