diff options
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/ItemController.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Controller/ItemController.php b/lib/Controller/ItemController.php index 7eeaa26ed..7ebe48b69 100644 --- a/lib/Controller/ItemController.php +++ b/lib/Controller/ItemController.php @@ -162,6 +162,17 @@ class ItemController extends Controller $search_items ); break; + case ListType::SHARED: + $items = $this->itemService->findAllSharedWithUserWithFilters( + $this->getUserId(), + $limit, + $offset, + !$showAll, + $oldestFirst, + $search_items + ); + break; + default: $items = $this->itemService->findAllWithFilters( $this->getUserId(), |