mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
upload/section add tags
This commit is contained in:
@@ -254,6 +254,7 @@ class SearchBoxRepository extends BaseRepository
|
||||
if ($searchBox->showsubcat) {
|
||||
$searchBox->loadSubCategories();
|
||||
}
|
||||
$searchBox->loadTags();
|
||||
}
|
||||
return $searchBoxList;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ class TagRepository extends BaseRepository
|
||||
return self::$orderByFieldIdString;
|
||||
}
|
||||
|
||||
public function listAll(int $searchBoxId = 0): \Illuminate\Database\Eloquent\Collection|array
|
||||
public static function listAll(int $searchBoxId = 0): \Illuminate\Database\Eloquent\Collection|array
|
||||
{
|
||||
if (empty(self::$allTags)) {
|
||||
self::$allTags = self::createBasicQuery()->get();
|
||||
|
||||
Reference in New Issue
Block a user