Open matthewberryman opened 5 years ago
@LucieGueuning please check latest work in test
FEEDBACK:
a. also, if the location is 'unknown', we should remove it from the search otherwise, nothing will show up. Or we make sure that there is no unknown location from the box in event creation. b. also, if type is 'other', we should only keep the free text of the operator for advanced search in Twitter.
(‘type1’ OR ‘type2’ OR ‘subtype’ ...) AND (‘area1’ OR ‘country1’ OR ‘area2’ OR ‘country2’ OR…) since:date
@LucieGueuning I've fixed up unknown/empty bracket cases. I've also fixed an extra open bracket bracket before the location set. Note that "Nghe An OR Vietnam" comes from the "area (province) OR country" as requested. Extra matched brackets are there so if there's more than one region it behaves properly, in the case of one region it will still work.
@LucieGueuning my previous work fixing unknown/empty bracket cases had broken code syntax, just deploying a proper fix now.
https://github.com/MSFREACH/msf-reach/commit/1aab3ddf5bc8d5a61c42c488bbe2e8b33125e7e2