From fb9e4a4dbb5b6dee3037c1cdeb8eea5f9a977311 Mon Sep 17 00:00:00 2001 From: Tincho Date: Tue, 2 Aug 2022 16:48:30 +0000 Subject: [PATCH] PMCORE-3793: First and Last buttons now working as expected --- .../assets/js/admin/settings/customCaseList/Tables.vue | 9 +++++++-- .../assets/js/home/AdvancedSearch/AdvancedSearch.vue | 9 +++++++-- resources/assets/js/home/CaseDetail.vue | 9 +++++++-- .../assets/js/home/CustomCaseList/CustomCaseList.vue | 9 +++++++-- resources/assets/js/home/Draft/Draft.vue | 9 +++++++-- resources/assets/js/home/Inbox/Inbox.vue | 9 +++++++-- resources/assets/js/home/MyCases/MyCases.vue | 9 +++++++-- resources/assets/js/home/Paused/Paused.vue | 9 +++++++-- resources/assets/js/home/Unassigned/Unassigned.vue | 9 +++++++-- 9 files changed, 63 insertions(+), 18 deletions(-) mode change 100644 => 100755 resources/assets/js/admin/settings/customCaseList/Tables.vue mode change 100644 => 100755 resources/assets/js/home/AdvancedSearch/AdvancedSearch.vue mode change 100644 => 100755 resources/assets/js/home/CaseDetail.vue mode change 100644 => 100755 resources/assets/js/home/CustomCaseList/CustomCaseList.vue mode change 100644 => 100755 resources/assets/js/home/Draft/Draft.vue mode change 100644 => 100755 resources/assets/js/home/Inbox/Inbox.vue mode change 100644 => 100755 resources/assets/js/home/MyCases/MyCases.vue mode change 100644 => 100755 resources/assets/js/home/Paused/Paused.vue mode change 100644 => 100755 resources/assets/js/home/Unassigned/Unassigned.vue diff --git a/resources/assets/js/admin/settings/customCaseList/Tables.vue b/resources/assets/js/admin/settings/customCaseList/Tables.vue old mode 100644 new mode 100755 index 4eb911a2f..3c86a5342 --- a/resources/assets/js/admin/settings/customCaseList/Tables.vue +++ b/resources/assets/js/admin/settings/customCaseList/Tables.vue @@ -87,6 +87,11 @@ export default { tableData: [], options: { filterable: true, + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { name: this.$i18n.t("ID_NAME"), process: this.$i18n.t("ID_PROCESS"), @@ -98,8 +103,8 @@ export default { }, texts: { count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/AdvancedSearch/AdvancedSearch.vue b/resources/assets/js/home/AdvancedSearch/AdvancedSearch.vue old mode 100644 new mode 100755 index 050b6f36c..d2db2a513 --- a/resources/assets/js/home/AdvancedSearch/AdvancedSearch.vue +++ b/resources/assets/js/home/AdvancedSearch/AdvancedSearch.vue @@ -163,6 +163,11 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { case_number: this.$i18n.t("ID_MYCASE_NUMBER"), process_category: this.$i18n.t("ID_CATEGORY_PROCESS"), @@ -178,8 +183,8 @@ export default { }, texts: { count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/CaseDetail.vue b/resources/assets/js/home/CaseDetail.vue old mode 100644 new mode 100755 index 7d4eac7a6..e5ce9b493 --- a/resources/assets/js/home/CaseDetail.vue +++ b/resources/assets/js/home/CaseDetail.vue @@ -170,6 +170,11 @@ export default { showTable: true, tableData: [], options: { + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { task: this.$i18n.t("ID_TASK"), thread_title: this.$i18n.t('ID_CASE_THREAD_TITLE'), @@ -180,8 +185,8 @@ export default { }, texts: { count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/CustomCaseList/CustomCaseList.vue b/resources/assets/js/home/CustomCaseList/CustomCaseList.vue old mode 100644 new mode 100755 index b18c71326..decfe39c9 --- a/resources/assets/js/home/CustomCaseList/CustomCaseList.vue +++ b/resources/assets/js/home/CustomCaseList/CustomCaseList.vue @@ -338,10 +338,15 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, texts: { count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/Draft/Draft.vue b/resources/assets/js/home/Draft/Draft.vue old mode 100644 new mode 100755 index 00d3ffef6..2a22072ae --- a/resources/assets/js/home/Draft/Draft.vue +++ b/resources/assets/js/home/Draft/Draft.vue @@ -311,6 +311,11 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { detail: this.$i18n.t("ID_DETAIL_CASE"), case_number: this.$i18n.t("ID_MYCASE_NUMBER"), @@ -336,8 +341,8 @@ export default { }, texts: { count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/Inbox/Inbox.vue b/resources/assets/js/home/Inbox/Inbox.vue old mode 100644 new mode 100755 index 2892e738a..fb0d79ebf --- a/resources/assets/js/home/Inbox/Inbox.vue +++ b/resources/assets/js/home/Inbox/Inbox.vue @@ -342,6 +342,11 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { detail: this.$i18n.t("ID_DETAIL_CASE"), case_number: this.$i18n.t("ID_MYCASE_NUMBER"), @@ -357,8 +362,8 @@ export default { }, texts: { count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/MyCases/MyCases.vue b/resources/assets/js/home/MyCases/MyCases.vue old mode 100644 new mode 100755 index 8f9f48427..fe58a28ea --- a/resources/assets/js/home/MyCases/MyCases.vue +++ b/resources/assets/js/home/MyCases/MyCases.vue @@ -165,6 +165,11 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { case_number: this.$i18n.t("ID_MYCASE_NUMBER"), process_category: this.$i18n.t("ID_CATEGORY_PROCESS"), @@ -179,8 +184,8 @@ export default { }, texts: { count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/Paused/Paused.vue b/resources/assets/js/home/Paused/Paused.vue old mode 100644 new mode 100755 index 95526f6c1..640f98aff --- a/resources/assets/js/home/Paused/Paused.vue +++ b/resources/assets/js/home/Paused/Paused.vue @@ -342,6 +342,11 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { detail: this.$i18n.t("ID_DETAIL_CASE"), case_number: this.$i18n.t("ID_MYCASE_NUMBER"), @@ -357,8 +362,8 @@ export default { }, texts: { count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":", diff --git a/resources/assets/js/home/Unassigned/Unassigned.vue b/resources/assets/js/home/Unassigned/Unassigned.vue old mode 100644 new mode 100755 index 20535a2ee..8356f9983 --- a/resources/assets/js/home/Unassigned/Unassigned.vue +++ b/resources/assets/js/home/Unassigned/Unassigned.vue @@ -334,6 +334,11 @@ export default { options: { filterable: false, perPageValues: [], + pagination: { + chunk: 3, + nav: 'scroll', + edge: true + }, headings: { detail: this.$i18n.t("ID_DETAIL_CASE"), case_number: this.$i18n.t("ID_MYCASE_NUMBER"), @@ -349,8 +354,8 @@ export default { }, texts: { count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"), - first: this.$i18n.t("ID_FIRST"), - last: this.$i18n.t("ID_LAST"), + first: "<<", + last: ">>", filter: this.$i18n.t("ID_FILTER") + ":", limit: this.$i18n.t("ID_RECORDS") + ":", page: this.$i18n.t("ID_PAGE") + ":",