various updates to search capabilities
1. The list should not appear before any search
I've modified search.php so that when the page opens or when the user tries a search with no text and no filters, the search is not done and no search report text appears.
2. Gender
No changes made.
3. Location needs to be changed- add French translation
I've put the four values for Location into the French and English language files. Those appear in the Location dropdown list on the search page. The search tests if that value appears anywhere in the residence element in the data.
4. Origin needs to be added (see Oxygen and tanslation in document)
I've put the four values for Origin into the French and English language files. Those appear in the Origin dropdown list on the search page. The search tests if that value appears anywhere in the nationality element in the data.
5. Topics
Right now the system is set up so that the items in the English Topics drop-down list are in English and the French Sujets drop-down list are in French, but the actual searches search for the French term. It's trivial to change the text that appears in the interface, but would take considerably more work to elegantly facilitate the actual search in both languages.
It appears that the data files in the database right now do not contain any of the six topic keywords:
éducation
loisirs
langue
histoire
cinéma
littérature
At least, no matter what topic I search for I get no hits. Is that correct?
If the data does have correct values, then there is something wrong with the code doing the querying, which I'll have to investigate.
6. Age
I changed the code so that people with no age do not fall into the 0-9 age bracket. People with no age cannot be found by an age-based filter - which makes sense to me.