Ok so checked the debug log, the search isn’t trying to filter for this query. This is the result of a search for the word “STA”
10/04/17 11:19:15 [12688][de54e5a0-7721-d380-1c3a-59b77054f09a][DEBUG] Limit Query: SELECT fp_event_locations.id ,fp_event_locations_cstm.contactnumber_c,fp_event_locations_cstm.contactperson_c,fp_event_locations_cstm.status_c, fp_event_locations.name , fp_event_locations.assigned_user_id FROM fp_event_locations LEFT JOIN fp_event_locations_cstm ON fp_event_locations.id = fp_event_locations_cstm.id_c where fp_event_locations.deleted=0 ORDER BY fp_event_locations.date_entered DESC Start: 0 count: 11
10/04/17 11:19:15 [12688][de54e5a0-7721-d380-1c3a-59b77054f09a][INFO] Query: SELECT fp_event_locations.id ,fp_event_locations_cstm.contactnumber_c,fp_event_locations_cstm.contactperson_c,fp_event_locations_cstm.status_c, fp_event_locations.name , fp_event_locations.assigned_user_id FROM fp_event_locations LEFT JOIN fp_event_locations_cstm ON fp_event_locations.id = fp_event_locations_cstm.id_c where fp_event_locations.deleted=0 ORDER BY fp_event_locations.date_entered DESC LIMIT 0,11
10/04/17 11:19:15 [12688][de54e5a0-7721-d380-1c3a-59b77054f09a][INFO] Query Execution Time:0
10/04/17 11:19:15 [12688][de54e5a0-7721-d380-1c3a-59b77054f09a][DEBUG] Hook called: FP_Event_Locations::process_record
10/04/17 11:19:15 [12688][de54e5a0-7721-d380-1c3a-59b77054f09a][INFO] Query: SELECT count(*) c FROM fp_event_locations LEFT JOIN fp_event_locations_cstm ON fp_event_locations.id = fp_event_locations_cstm.id_c where fp_event_locations.deleted=0
I then re-ran the same search with a different module included and the search term is definitely there;
10/04/17 11:22:09 [12688][de54e5a0-7721-d380-1c3a-59b77054f09a][DEBUG] Limit Query: SELECT documents.id ,documents_cstm.docnum_c,documents_cstm.doctype_c,documents_cstm.type_c, documents.document_revision_id , documents.doc_id , documents.doc_type , documents.doc_url , documents.active_date , documents.exp_date , documents.status_id , documents.document_name , documents.assigned_user_id FROM documents LEFT JOIN documents_cstm ON documents.id = documents_cstm.id_c where (((documents.document_name like ‘%STA%’))) AND documents.deleted=0 ORDER BY documents.date_entered DESC Start: 0 count: 11