| 
                                                        @@ -46,7 +46,7 @@  discard block  | 
                                                    
                                                    
                                                         | 
                                                         | 
                                                         block discarded – undo  | 
                                                    
                                                                                                                                                                                                                    
                                                            | 
                                                                                                                                    46
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    46
                                                                                                                                                                                                 | 
                                                               | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    47
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    47
                                                                                                                                                                                                 | 
                                                                     // If no view has been created for this page collection, we try once again to fetch the content value if any. This will silently fail  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    48
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    48
                                                                                                                                                                                                 | 
                                                                     // if no content value is present. We don't consider the 'content' attribute to be a default as we do for module.  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    49
                                                                                                                                                                                                 | 
                                                            
                                                                                                                             | 
                                                            -        return $this->map(function ($item) { | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                             | 
                                                            
                                                                                                                                    49
                                                                                                                                                                                                 | 
                                                            +        return $this->map(function($item) { | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    50
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    50
                                                                                                                                                                                                 | 
                                                                         return ($this->viewParent && $item instanceof ViewableContract)  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    51
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    51
                                                                                                                                                                                                 | 
                                                                             ? $item->setViewParent($this->viewParent)->renderView()  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    52
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    52
                                                                                                                                                                                                 | 
                                                                             : ($item->content ?? '');  | 
                                                        
                                                                                                                                                        
                                                         | 
                                                        @@ -79,7 +79,7 @@  discard block  | 
                                                    
                                                    
                                                         | 
                                                         | 
                                                         block discarded – undo  | 
                                                    
                                                                                                                                                                                                                    
                                                            | 
                                                                                                                                    79
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    79
                                                                                                                                                                                                 | 
                                                                 { | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    80
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    80
                                                                                                                                                                                                 | 
                                                                     $currentPage = $currentPage ?? request()->get('page', 1); | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    81
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    81
                                                                                                                                                                                                 | 
                                                                     $path = request()->path();  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    82
                                                                                                                                                                                                 | 
                                                            
                                                                                                                             | 
                                                            -        $items = array_slice($this->all(), ($currentPage - 1) * $perPage);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                             | 
                                                            
                                                                                                                                    82
                                                                                                                                                                                                 | 
                                                            +        $items = array_slice($this->all(), ($currentPage-1) * $perPage);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    83
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    83
                                                                                                                                                                                                 | 
                                                               | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    84
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    84
                                                                                                                                                                                                 | 
                                                                     return (new \Illuminate\Pagination\Paginator($items, $perPage, $currentPage))->setPath($path);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    85
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    85
                                                                                                                                                                                                 | 
                                                                 }  | 
                                                        
                                                                                                                                                        
                                                         | 
                                                        @@ -96,7 +96,7 @@  discard block  | 
                                                    
                                                    
                                                         | 
                                                         | 
                                                         block discarded – undo  | 
                                                    
                                                                                                                                                                                                                    
                                                            | 
                                                                                                                                    96
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    96
                                                                                                                                                                                                 | 
                                                                 { | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    97
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    97
                                                                                                                                                                                                 | 
                                                                     $currentPage = $currentPage ?? request()->get('page', 1); | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    98
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    98
                                                                                                                                                                                                 | 
                                                                     $path = '/'.request()->path();  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    99
                                                                                                                                                                                                 | 
                                                            
                                                                                                                             | 
                                                            -        $items = array_slice($this->all(), ($currentPage - 1) * $perPage, $perPage);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                             | 
                                                            
                                                                                                                                    99
                                                                                                                                                                                                 | 
                                                            +        $items = array_slice($this->all(), ($currentPage-1) * $perPage, $perPage);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    100
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    100
                                                                                                                                                                                                 | 
                                                               | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    101
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    101
                                                                                                                                                                                                 | 
                                                                     return (new \Illuminate\Pagination\LengthAwarePaginator($items, $this->count(), $perPage, $currentPage))->setPath($path);  | 
                                                        
                                                                                                            
                                                            | 
                                                                                                                                    102
                                                                                                                                                                                                 | 
                                                            
                                                                                                                                    102
                                                                                                                                                                                                 | 
                                                                 }  |