Add manifest.json for graphify-out documentation with metadata for various files

This commit is contained in:
hamed
2026-06-30 22:12:26 +03:30
parent 9eb5a03258
commit cc193c866b
47 changed files with 20368 additions and 42 deletions
+6 -1
View File
@@ -86,7 +86,12 @@ class TagController extends BaseController
$limit = min(100, max(1, (int) $request->query->get('limit', 15)));
$search = trim((string) $request->query->get('search', ''));
$qb = $this->repo->createQueryBuilder('t')->orderBy('t.name', 'ASC');
$qb = $this->repo->createQueryBuilder('t');
if ($request->query->get('sort') === 'id') {
$qb->orderBy('t.id', strtoupper((string) $request->query->get('order')) === 'DESC' ? 'DESC' : 'ASC');
} else {
$qb->orderBy('t.name', 'ASC');
}
if ($search !== '') {
$qb->andWhere('t.name LIKE :s')->setParameter('s', '%' . $search . '%');
}