@monoui/vuejs 1.1.20 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoui/vuejs",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -567,7 +567,11 @@ export default {
567
567
 
568
568
  if (addHistory) {
569
569
  let state = null;
570
+
571
+ // clear all first
570
572
  this.clearHistoryParameters("f-");
573
+ this.clearHistoryParameters("s-");
574
+
571
575
  for (const filter of this.filters) {
572
576
  state = this.addHistoryParameter(
573
577
  `f-${filter.Column}`,
@@ -578,7 +582,6 @@ export default {
578
582
  );
579
583
  }
580
584
 
581
- this.clearHistoryParameters("s-");
582
585
  for (const sort of this.sorting) {
583
586
  state = this.addHistoryParameter(
584
587
  `s-${sort.Column}`,
@@ -642,7 +645,7 @@ export default {
642
645
  changeItemPerPage(value) {
643
646
  this.settings.itemPerPage = value;
644
647
  this.addHistoryParameter("limit", value);
645
- this.getValues();
648
+ this.getValues(false);
646
649
  },
647
650
  isLessThanTotalItemCount(val) {
648
651
  return this.settings.totalItemCount > val;