Plugin Directory

Changeset 3710822


Ignore:
Timestamp:
09/24/2026 08:05:23 AM (5 weeks ago)
Author:
fdilnaz
Message:

Release 1.0.7 - fix filter-chip removal not resetting As-Dropdown fields (Bedrooms/Bathrooms/Rooms/Garage)

Location:
listingkit-fast-search-filter-for-houzez
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • listingkit-fast-search-filter-for-houzez/tags/1.0.7/assets/js/frontend.js

    r3697032 r3710822  
    828828        App.prototype.resetInput = function( el ) {
    829829                el.value = '';
     830                // A field in "As Dropdown" mode (beds/baths/rooms/garage) is a
     831                // bootstrap-select: clearing the native <select> value doesn't update
     832                // the visible widget until it's refreshed. Without this, removing a
     833                // bedrooms chip cleared the filter but the control kept showing e.g.
     834                // "Studio" — the same refresh deselectOption()/clearAllFilters() already do.
     835                if ( window.jQuery && window.jQuery( el ).data( 'selectpicker' ) ) {
     836                        window.jQuery( el ).selectpicker( 'refresh' );
     837                }
    830838                el.dispatchEvent( new Event( 'change', { bubbles: true } ) );
    831839        };
  • listingkit-fast-search-filter-for-houzez/tags/1.0.7/listingkit-fast-search.php

    r3705573 r3710822  
    33 * Plugin Name: ListingKit Fast Search & Filter for Houzez
    44 * Description: Indexed, dynamic search & filter engine for the Houzez theme — reads Houzez taxonomies and serves fast, indexed queries via REST.
    5  * Version: 1.0.6
     5 * Version: 1.0.7
    66 * Author: Fahmida Dilnaz
    77 * Author URI: https://listingpress.io
    … …  
    1717}
    1818
    19 define( 'LISTINGKIT_VERSION', '1.0.6' );
     19define( 'LISTINGKIT_VERSION', '1.0.7' );
    2020define( 'LISTINGKIT_DB_VERSION', '6' );
    2121define( 'LISTINGKIT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • listingkit-fast-search-filter-for-houzez/tags/1.0.7/readme.txt

    r3705573 r3710822  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    193193
    194194== Changelog ==
     195
     196= 1.0.7 =
     197* Fixed: removing an active-filter chip for a field shown in "As Dropdown" mode (Bedrooms, Bathrooms, Rooms, Garage) cleared the filter but left the dropdown still displaying the old selection. The control now resets to its placeholder along with the filter.
    195198
    196199= 1.0.6 =
    … …  
    224227== Upgrade Notice ==
    225228
     229= 1.0.7 =
     230Removing a Bedrooms/Bathrooms/Rooms/Garage filter chip now also clears its dropdown, not just the filter.
     231
    226232= 1.0.6 =
    227233Studio searches now match only listings actually marked as a studio, never Land/Office/Commercial listings that just leave bedrooms blank.
  • listingkit-fast-search-filter-for-houzez/trunk/assets/js/frontend.js

    r3697032 r3710822  
    828828        App.prototype.resetInput = function( el ) {
    829829                el.value = '';
     830                // A field in "As Dropdown" mode (beds/baths/rooms/garage) is a
     831                // bootstrap-select: clearing the native <select> value doesn't update
     832                // the visible widget until it's refreshed. Without this, removing a
     833                // bedrooms chip cleared the filter but the control kept showing e.g.
     834                // "Studio" — the same refresh deselectOption()/clearAllFilters() already do.
     835                if ( window.jQuery && window.jQuery( el ).data( 'selectpicker' ) ) {
     836                        window.jQuery( el ).selectpicker( 'refresh' );
     837                }
    830838                el.dispatchEvent( new Event( 'change', { bubbles: true } ) );
    831839        };
  • listingkit-fast-search-filter-for-houzez/trunk/listingkit-fast-search.php

    r3705573 r3710822  
    33 * Plugin Name: ListingKit Fast Search & Filter for Houzez
    44 * Description: Indexed, dynamic search & filter engine for the Houzez theme — reads Houzez taxonomies and serves fast, indexed queries via REST.
    5  * Version: 1.0.6
     5 * Version: 1.0.7
    66 * Author: Fahmida Dilnaz
    77 * Author URI: https://listingpress.io
    … …  
    1717}
    1818
    19 define( 'LISTINGKIT_VERSION', '1.0.6' );
     19define( 'LISTINGKIT_VERSION', '1.0.7' );
    2020define( 'LISTINGKIT_DB_VERSION', '6' );
    2121define( 'LISTINGKIT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • listingkit-fast-search-filter-for-houzez/trunk/readme.txt

    r3705573 r3710822  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    193193
    194194== Changelog ==
     195
     196= 1.0.7 =
     197* Fixed: removing an active-filter chip for a field shown in "As Dropdown" mode (Bedrooms, Bathrooms, Rooms, Garage) cleared the filter but left the dropdown still displaying the old selection. The control now resets to its placeholder along with the filter.
    195198
    196199= 1.0.6 =
    … …  
    224227== Upgrade Notice ==
    225228
     229= 1.0.7 =
     230Removing a Bedrooms/Bathrooms/Rooms/Garage filter chip now also clears its dropdown, not just the filter.
     231
    226232= 1.0.6 =
    227233Studio searches now match only listings actually marked as a studio, never Land/Office/Commercial listings that just leave bedrooms blank.
Note: See TracChangeset for help on using the changeset viewer.