Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | protected function getBrowserItems($scopes = []) |
||
43 | { |
||
44 | if ($this->showOnlyParentItemsInBrowsers) { |
||
45 | return $this->getIndexItems($scopes, true); |
||
46 | } |
||
47 | |||
48 | return $this->repository->get( |
||
49 | $this->indexWith, |
||
50 | $scopes, |
||
51 | $this->orderScope(), |
||
52 | request('offset') ?? $this->perPage ?? 50, |
||
53 | true |
||
54 | ); |
||
57 |