]> BookStack Code Mirror - bookstack/blobdiff - app/Util/SimpleListOptions.php
Customization: Added parent tag classes
[bookstack] / app / Util / SimpleListOptions.php
index cb7e75a2d5609f48560d3aa6ac3e35078889e780..81d8a5876360e8ef98d776203f65f204085e6091 100644 (file)
@@ -34,7 +34,7 @@ class SimpleListOptions
         $sort = setting()->getForCurrentUser($typeKey . '_sort', '');
         $order = setting()->getForCurrentUser($typeKey . '_sort_order', $sortDescDefault ? 'desc' : 'asc');
 
-        return new static($typeKey, $sort, $order, $search);
+        return new self($typeKey, $sort, $order, $search);
     }
 
     /**