Logos, robots and some fixs
This commit is contained in:
@@ -162,7 +162,10 @@ class DocumentRepositoriesExtension extends ServiceEntityRepository
|
||||
|
||||
if (null === $this->qbsearch) {
|
||||
$this->qbsearch = $this ->createQueryBuilder("s")->where('s.title LIKE :searchkey');
|
||||
$this->qbsearch->orWhere('s.id LIKE :searchkey');
|
||||
if (is_numeric($search)) {
|
||||
$this->qbsearch->orWhere('s.id = ' . $search);
|
||||
}
|
||||
|
||||
$searchTime = str_replace('/', '-', $search);
|
||||
if (($timestamp = strtotime($searchTime)) != false) {
|
||||
$this->qbsearch->where('s.createdAt LIKE :searchkeydate')
|
||||
|
||||
Reference in New Issue
Block a user