Subversion Repositories SmartDukaan

Rev

Rev 33213 | Rev 35965 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33213 Rev 35487
Line 63... Line 63...
63
    $(document).on('click', 'select.criteria-item-catalogids+div > button', function () {
63
    $(document).on('click', 'select.criteria-item-catalogids+div > button', function () {
64
        if (changed) {
64
        if (changed) {
65
            let brands = $('.criteria-item-brands').val();
65
            let brands = $('.criteria-item-brands').val();
66
            console.log(brands);
66
            console.log(brands);
67
            $brandsContainer = $(this);
67
            $brandsContainer = $(this);
68
            var url = `${context}/focusedEntity?activeOnly=true&brands=${brands.join(",")}&categoryId=3&limit=0`;
68
            var url = `${context}/statusWiseCatalogs?activeOnly=true&brands=${brands.join(",")}&categoryId=3&limit=0`;
69
            $select = $('.criteria-item-catalogids');
69
            $select = $('.criteria-item-catalogids');
70
            console.log($select)
70
            console.log($select)
71
            $select.html('');
71
            $select.html('');
72
            if (brands.length > 0) {
72
            if (brands.length > 0) {
73
                doGetAjaxRequestHandler(url, function (response) {
73
                doGetAjaxRequestHandler(url, function (response) {