Closed kkatemoffatt closed 3 years ago
Describe the bug When we try to limit by genre in the advanced title search, we receive an error message.
To Reproduce Steps to reproduce the behavior:
Expected behavior All titles in the travel/tourism/topography genre should come up as the search results.
Screenshots
Additional context Here's the error message:
2021-07-30T10:15:40-07:00 23.17.72.182 GET https://womensprinthistoryproject.com/title/search?title_search%5Btitle%5D=&title_search%5Border%5D=&title_search%5Bid%5D=&title_search%5Bperson_filter%5D%5Bid%5D=&title_search%5Bperson_filter%5D%5Bname%5D=&title_search%5Bperson_filter%5D%5Bgender%5D%5B0%5D=F&title_search%5Bperson_filter%5D%5Bperson_role%5D%5B0%5D=1&title_search%5Bsigned_author%5D=&title_search%5Bpseudonym%5D=&title_search%5Bfirm_filter%5D%5Bfirm_id%5D=&title_search%5Bfirm_filter%5D%5Bfirm_name%5D=&title_search%5Bfirm_filter%5D%5Bfirm_address%5D=&title_search%5Bself_published%5D=&title_search%5Bvolumes%5D=&title_search%5Bpubdate%5D=&title_search%5Bdate_of_first_publication%5D=&title_search%5BeditionNumber%5D=&title_search%5BeditionStatement%5D=&title_search%5Bimprint%5D=&title_search%5Bcolophon%5D=&title_search%5Bcopyright%5D=&title_search%5Blocation%5D=&title_search%5BsizeL%5D=&title_search%5BsizeW%5D=&title_search%5Bprice_filter%5D%5Bprice_pound%5D=&title_search%5Bprice_filter%5D%5Bprice_shilling%5D=&title_search%5Bprice_filter%5D%5Bprice_pence%5D=&title_search%5Bprice_filter%5D%5Bprice_comparison%5D=eq&title_search%5Bgenre%5D%5B0%5D=14&title_search%5Bshelfmark%5D=&title_search%5Btitlesource_filter%5D%5Bsource%5D=&title_search%5Btitlesource_filter%5D%5Bidentifier%5D=&title_search%5Bnotes%5D=&title_search%5Bchecked%5D=&title_search%5Bfinalcheck%5D=&title_search%5Bfinalattempt%5D=&title_search%5B_token%5D=Qpvfs0JgC0RgvQ8QlaP-8sqtDwItfXaTu-b_iOdB7nc https://womensprinthistoryproject.com/title/ 500 - Doctrine\ORM\Query\QueryException [Semantical Error] line 0, col 100 near 'genre IN (:genre)': Error: Class App\Entity\Title has no field or association named genre Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Describe the bug When we try to limit by genre in the advanced title search, we receive an error message.
To Reproduce Steps to reproduce the behavior:
Expected behavior All titles in the travel/tourism/topography genre should come up as the search results.
Screenshots![Genre Bug](https://user-images.githubusercontent.com/80983260/127689090-0342e63e-0ce1-45c9-93d5-939368058bd9.png)
Additional context Here's the error message:
2021-07-30T10:15:40-07:00 23.17.72.182 GET https://womensprinthistoryproject.com/title/search?title_search%5Btitle%5D=&title_search%5Border%5D=&title_search%5Bid%5D=&title_search%5Bperson_filter%5D%5Bid%5D=&title_search%5Bperson_filter%5D%5Bname%5D=&title_search%5Bperson_filter%5D%5Bgender%5D%5B0%5D=F&title_search%5Bperson_filter%5D%5Bperson_role%5D%5B0%5D=1&title_search%5Bsigned_author%5D=&title_search%5Bpseudonym%5D=&title_search%5Bfirm_filter%5D%5Bfirm_id%5D=&title_search%5Bfirm_filter%5D%5Bfirm_name%5D=&title_search%5Bfirm_filter%5D%5Bfirm_address%5D=&title_search%5Bself_published%5D=&title_search%5Bvolumes%5D=&title_search%5Bpubdate%5D=&title_search%5Bdate_of_first_publication%5D=&title_search%5BeditionNumber%5D=&title_search%5BeditionStatement%5D=&title_search%5Bimprint%5D=&title_search%5Bcolophon%5D=&title_search%5Bcopyright%5D=&title_search%5Blocation%5D=&title_search%5BsizeL%5D=&title_search%5BsizeW%5D=&title_search%5Bprice_filter%5D%5Bprice_pound%5D=&title_search%5Bprice_filter%5D%5Bprice_shilling%5D=&title_search%5Bprice_filter%5D%5Bprice_pence%5D=&title_search%5Bprice_filter%5D%5Bprice_comparison%5D=eq&title_search%5Bgenre%5D%5B0%5D=14&title_search%5Bshelfmark%5D=&title_search%5Btitlesource_filter%5D%5Bsource%5D=&title_search%5Btitlesource_filter%5D%5Bidentifier%5D=&title_search%5Bnotes%5D=&title_search%5Bchecked%5D=&title_search%5Bfinalcheck%5D=&title_search%5Bfinalattempt%5D=&title_search%5B_token%5D=Qpvfs0JgC0RgvQ8QlaP-8sqtDwItfXaTu-b_iOdB7nc https://womensprinthistoryproject.com/title/ 500 - Doctrine\ORM\Query\QueryException [Semantical Error] line 0, col 100 near 'genre IN (:genre)': Error: Class App\Entity\Title has no field or association named genre Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36