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