]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Repos/BookshelfRepo.php
Added test for logical-theme-system command registration
[bookstack] / app / Entities / Repos / BookshelfRepo.php
index 3990bfbdcf02f5fc2f74a546f9045d200af1a4ac..3146c7cba44200d77f9af4cf63b653e6d5795c0f 100644 (file)
@@ -124,7 +124,8 @@ class BookshelfRepo
 
         $syncData = Book::visible()
             ->whereIn('id', $bookIds)
-            ->get(['id'])->pluck('id')->mapWithKeys(function ($bookId) use ($numericIDs) {
+            ->pluck('id')
+            ->mapWithKeys(function ($bookId) use ($numericIDs) {
                 return [$bookId => ['order' => $numericIDs->search($bookId)]];
             });