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
@@ -131,9 +131,12 @@ class SpecialtyController extends BaseController
$qb = $this->repo->createQueryBuilder('s')
->leftJoin('s.parent', 'p')
->addSelect('p')
->orderBy('s.weight', 'ASC')
->addOrderBy('s.name', 'ASC');
->addSelect('p');
if ($request->query->get('sort') === 'id') {
$qb->orderBy('s.id', strtoupper((string) $request->query->get('order')) === 'DESC' ? 'DESC' : 'ASC');
} else {
$qb->orderBy('s.weight', 'ASC')->addOrderBy('s.name', 'ASC');
}
if ($search !== '') {
$qb->andWhere('s.name LIKE :s')->setParameter('s', '%' . $search . '%');