chrismattmann closed pull request #162: Enabled Pagination for projects table
URL: https://github.com/apache/drat/pull/162
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue
 
b/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue
index 273953f1..3a94afbc 100644
--- 
a/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue
+++ 
b/webapps/proteus-new/src/main/webapp/resources/src/components/projectstable.vue
@@ -24,7 +24,7 @@ the License.
     <v-data-table id="ttx"
       :headers="headers"
       :items="docs"
-      hide-actions
+      :rows-per-page-items="rowsPerPageItemsforProjects"
       class="elevation-1"
     >
     <template slot="items" slot-scope="props">
@@ -261,15 +261,17 @@ import store from './../store/store';
         { text: 'Repository',sortable: false, value: 'repository' },
         { text: 'Name',sortable: false, value: 'name' },
         { text: 'Description',sortable: false, value: 'description' },
-        { text: 'Audit',sortable: false, value: 'audit' }
-      ],
-      count:{
+        { text: 'Audit',sortable: false, value: 'audit' },
+        ],
+        count:{
           numFound :0,
           start:0
         },
 
-        docs:[]
+        docs:[],
+        rowsPerPageItemsforProjects: 
[50,100,200,500,1000,3000,5000,{"text":"$vuetify.dataIterator.rowsPerPageAll","value":-1}]
       }
+      
     },
     methods: {
       moreClicked :function(index){


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to