Crocoblock / suggestions

The suggestions for CrocoBlock project
196 stars 79 forks source link

Jet Smart Filters term_id and term_taxonomy_id issue #1085

Open sonld89 opened 4 years ago

sonld89 commented 4 years ago

Describe the bug In class Jet_Smart_Filters_Hierarchy line 255, you are using term_id to compare with term_taxonomy_id. So the filter won't work properly if term_id and term_taxonomy_id are different in the database. I faced with that issue so I changed the source code like the attachment to fix it.

Screenshots https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/2043100376029/original/Screen%20Shot%202020-04-01%20at%2010.44.49%20AM.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAS6FNSMY2WD6T3JNC%2F20200406%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200406T032914Z&X-Amz-Expires=300&X-Amz-Signature=9a7e73c511d4b440e630ec9b96b024d2171ebdac4e60a4c30ec97f6d2e8bc0f7&X-Amz-SignedHeaders=Host&response-content-type=image%2Fpng

marcofrasson commented 4 years ago

"This XML file does not appear to have any style information associated with it. The document tree is shown below."

Your image dont show