Merge pull request '#6806 fix lastEntriesFilter' (!2013) from 6806-fixEntryFilter into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2013
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Jorge Penadés 2024-02-09 12:47:17 +00:00
commit e96b14ad04
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ class Controller extends Section {
this.filter = {
where: {
itemFk: this.$params.id,
shipped: {
landed: {
between: [from, to]
}
}
@ -36,7 +36,7 @@ class Controller extends Section {
const to = new Date(this._dateTo);
to.setHours(23, 59, 59, 59);
this.filter.where.shipped = {
this.filter.where.landed = {
between: [from, to]
};
this.$.model.refresh();
@ -53,7 +53,7 @@ class Controller extends Section {
const to = new Date(value);
to.setHours(23, 59, 59, 59);
this.filter.where.shipped = {
this.filter.where.landed = {
between: [from, to]
};
this.$.model.refresh();