• Resolved peterstavrou

    (@peterstavrou)


    There has been a bug in this plugin from 1.3.575 on wards in which causes the filters not to work for some users. The issue has to do with the below code, once it’s commented out it works fine.

    \public\locate-and-filter-public.js

    function sort_filter_by_attr(){
        jQuery("ul.category-filters-container").each(function(){
            jQuery(this).html(jQuery(this).children('li').sort(function(a, b){
                return (jQuery(b).data('sort')) < (jQuery(a).data('sort')) ? 1 : -1;
            }));
        });
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Filter Bug + Temp Solution’ is closed to new replies.