booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

bug ? #102

Closed quitriz closed 9 months ago

quitriz commented 9 months ago

Hi,

This is i am not sure if it created by the last bug we fixed.

i am uploading the video. showing, I list the Featured Townhomes in a carousel then every property listing correctly, like all of those properties are from property_type "Townhomes", but once I click "See All", all the featured listings messed up, it included all type of property_type, e.g, single, double, etc .. and it should be listing all the featured properties from property_type "Townhomes" only.

thanks, I did add the email with the last bug but Hassan didn't reply, so maybe because the other bug was done ? .. i am not sure if this created by the last bug, i only notice after the other bug fixed.

thank you.

quitriz commented 9 months ago

https://github.com/booleanbites/houzi-support/assets/131728470/91cf0e3c-82fd-4441-81d1-392a020f1c73

Hassan6197 commented 9 months ago

Hello @quitriz, Thank you for your patience. No this issue is not related to other fixes. To fix this issue go to /packages/houzi_package/lib/pages/home_page_screens/home_elegant_related/related_widgets/home_elegant_widgets_listings.dart and look for getSearchResultPath() method. Then replace it with the following piece of code.

getSearchResultPath({Map<String, dynamic>? map, bool onlyFeatured = false}){
    return (context) => SearchResult(
      dataInitializationMap:  map,
      searchPageListener: (Map<String, dynamic> map, String closeOption) {
        if(closeOption.isEmpty){
          GeneralNotifier().publishChange(GeneralNotifier.FILTER_DATA_LOADING_COMPLETE);
        }
        if (closeOption == CLOSE) {
          Navigator.of(context).pop();
        }
      },
    );
  }
quitriz commented 9 months ago

this is now fixed. thank you Hassan