If we want to create a filter for our custom thread fields, (I think) it is better if we think what we want to do with the filter, because XThreads 1.60 offers more powerful usage for the filter.
Documentations:
https://github.com/zingaburga/XThreads-M...https://github.com/zingaburga/XThreads-MyBB-Plugin/commit/fb586b53f8bf686806c7b4d0eac2a0
and here (for numeric filter):
https://github.com/zingaburga/XThreads-M...https://github.com/zingaburga/XThreads-MyBB-Plugin/commit/5216a75c0eae413198cfe0c11bac50
The reasons why I create the numeric filters for the Restaurant Review and Comp Specs example applications is because we can use operators like <=> for numeric fields (if I don't misunderstand it).
For example, later, we can filter restaurants that has Food rating > 3, Atmosphere >= 2 and Service = 5.
We can filter comp that has HD space <= 1024 GB, Graphics Memory > 1024 MB and RAM < 2048 MB.