Make sure we never ask for page 0 when fetching model index data
This commit is contained in:
		
							parent
							
								
									24667ead2a
								
							
						
					
					
						commit
						a9c4548594
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -96,7 +96,7 @@ export default {
 | 
			
		|||
            }
 | 
			
		||||
            if (this.paginated) {
 | 
			
		||||
                params.per_page = this.perPage
 | 
			
		||||
                params.page = this.page
 | 
			
		||||
                params.page = this.page || 1
 | 
			
		||||
            }
 | 
			
		||||
            this.$http.get(this.getApiIndexUrl(), {params: params}).then(response => {
 | 
			
		||||
                this.data = response.data
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue