givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
390 stars 82 forks source link

Filter on Regions no working #100

Closed Twilight-Computer closed 1 month ago

Twilight-Computer commented 8 months ago

The Filter on Regions does not appear to be working.

Regardless of the setting used for "Status" all "enabled" entries are listed before the other selections in the filter.

Eg. Filter on Country = Australia and Status = Disabled, lists all enabled UK and US regions first.

(I'll change the records I need in SQL tables )

givanz commented 8 months ago

Thanks for the bug report, disabled status filtering was not working because disabled value is 0 and it was ignored.

It's fixed in the latest update https://github.com/givanz/Vvveb/commit/4de7b1555ca7e018adb4dfcd1b05da16c03b032b