PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.1.2
Fluent Support – Helpdesk & Customer Support Ticket System v2.1.2
2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 All 68 releases
← All changes | app/Models/Agent.php +0 -13 2.2.02.1.2 View file →
@@ -63,18 +63,5 @@
63 63 AgentGroup::class, 'fs_tag_pivot', 'source_id', 'tag_id'
64 64 )->wherePivot('source_type', 'agent_group');
65 65 }
66 66
67 - public function scopeMentionBy($query, $search)
68 - {
69 - if (!$search) {
70 - return $query;
71 - }
72 -
73 - return $query->where(function ($q) use ($search) {
74 - $q->where('first_name', 'LIKE', '%' . $search . '%')
75 - ->orWhere('last_name', 'LIKE', '%' . $search . '%')
76 - ->orWhere('email', 'LIKE', '%' . $search . '%');
77 - });
78 - }
79 -
80 67 }