expresspixel / estatezilla

A lightweight open-source Real Estate CMS
http://estatezilla.com/
85 stars 48 forks source link

The route (file_handler) is not taking into account for non-English locales #29

Open chunyianliew opened 6 years ago

chunyianliew commented 6 years ago

When editing pages in the admin area, there is an option to specify an optional route (file_handler). This is done for the "for sale" page in the front end: http://demo.estatezilla.com/en/for-sale And for the "to rent" page in the front end: http://demo.estatezilla.com/en/to-rent

It seems that with the selected file_handler you control which properties are listed: "for sale" or "to rent" properties.

But for non-English locales this is not working. When you open the same pages in French, the properties are not filtered. All properties are listed, both the "for sale" and the "to rent" properties: For sale: http://demo.estatezilla.com/fr/a-vendre To rent: http://demo.estatezilla.com/fr/louer