update
This commit is contained in:
parent
83f67d8be5
commit
5916949a3f
@ -41,7 +41,7 @@ class CustomServiceLists extends BaseAdminDataLists implements ListsSearchInterf
|
|||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['project_id', 'custom_id', 'classification', 'urgency', 'processing_result', 'processed_user'],
|
'=' => ['project_id', 'classification', 'urgency', 'processing_result', 'processed_user'],
|
||||||
'%like%' => ['name','receiver']
|
'%like%' => ['name','receiver']
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@ -58,7 +58,7 @@ class CustomServiceLists extends BaseAdminDataLists implements ListsSearchInterf
|
|||||||
*/
|
*/
|
||||||
public function lists(): array
|
public function lists(): array
|
||||||
{
|
{
|
||||||
$params = $this->request->get();
|
$params = $this->request->get(['custom_id']);
|
||||||
$where = [];
|
$where = [];
|
||||||
if(isset($params['custom_id']) && $params['custom_id'] != ''){
|
if(isset($params['custom_id']) && $params['custom_id'] != ''){
|
||||||
$project_ids = Project::where('custom_id',$params['custom_id'])->column('id');
|
$project_ids = Project::where('custom_id',$params['custom_id'])->column('id');
|
||||||
@ -96,7 +96,7 @@ class CustomServiceLists extends BaseAdminDataLists implements ListsSearchInterf
|
|||||||
*/
|
*/
|
||||||
public function count(): int
|
public function count(): int
|
||||||
{
|
{
|
||||||
$params = $this->request->get();
|
$params = $this->request->get(['custom_id']);
|
||||||
$where = [];
|
$where = [];
|
||||||
if(isset($params['custom_id']) && $params['custom_id'] != ''){
|
if(isset($params['custom_id']) && $params['custom_id'] != ''){
|
||||||
$project_ids = Project::where('custom_id',$params['custom_id'])->column('id');
|
$project_ids = Project::where('custom_id',$params['custom_id'])->column('id');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user