| @@ -27,11 +27,10 @@ | ||
| 27 | 27 | return $this->searchable; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * Agent ids, resolved once per request. Reporting filters on this list | |
| 32 | - * rather than whereHas('person', ...), which drove those queries off | |
| 33 | - * fs_persons (no person_type index) and cost them their date range. | |
| 31 | + * Agent ids, cached per request. Reporting filters on these ids because | |
| 32 | + * whereHas('person') hits fs_persons, which has no person_type index. | |
| 34 | 33 | * |
| 35 | 34 | * @return array |
| 36 | 35 | */ |
| 37 | 36 | public static function getAgentIds() |
| @@ -60,9 +59,8 @@ | ||
| 60 | 59 | } |
| 61 | 60 | |
| 62 | 61 | |
| 63 | 62 | /** |
| 64 | - * One2Many: Customer has to many Click Tickets | |
| 65 | 63 | * @return Model Collection |
| 66 | 64 | */ |
| 67 | 65 | public function tickets() |
| 68 | 66 | { |