Fix: Pagination bug with filters payload (#3747)
* Removes the last operators value * Moved removing the last operator to the payload generator * Update app/javascript/dashboard/helper/filterQueryGenerator.js This makes sure the last operator is never sent to the request Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> * Fixed the test specs * Fixed the intendation and added comments Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
This commit is contained in:
@@ -192,7 +192,6 @@ export default {
|
||||
'setConversationFilters',
|
||||
JSON.parse(JSON.stringify(this.appliedFilters))
|
||||
);
|
||||
this.appliedFilters[this.appliedFilters.length - 1].query_operator = null;
|
||||
this.$emit('applyFilter', this.appliedFilters);
|
||||
},
|
||||
resetFilter(index, currentFilter) {
|
||||
|
||||
Reference in New Issue
Block a user