Viewing 1 post (of 1 total)
  • Author
    Posts
  • smousionis Friend
    #179239

    Hello. I have one MAJOR problems. If is not solved i will not be payed from my client. So if you can please help me.

    I created two extra field, one for price (€) and one for area (sq. m.). The prices are:

    50.000
    75.000
    100.000
    150.000
    200.000
    250.000
    300.000
    350.000
    400.000
    500.000
    750.000
    1.000.000

    The areas are:

    50
    60
    70
    85
    100
    120
    150
    200
    250
    300
    400
    500
    1.000

    Both of them are used as ranged values. When i try to do a search with price “750.000-1.000.000” and area “500-1.000”, they give me back all the results. It is like it is working as “ΑΝΥ”. And if i try a search with price “750.000-1.000.000” and area for example “300-400”, the price “750.000-1.000.000” works like “ANY” and give me back results with area “300-400” and any price. The same situation with area “500-1.000”. It works like “ANY” and gives me wrong results. You can try a search (my site is greekhorizon.gr and you can see the problem for yourselfs), for example you set the price field as “750.000-1.000.000”, the area field as “500-1.000” and the type as “Maisonette”. Leave the textbox for the Location empty. Then i get the results and it gives me back all the “Maisonettes” for all location, although it should give me ” Maisonettes” only with prices between “750.000-1.000.000” and areas “500-1.000” for all Locations. Maybe a problem because i create ranged values with fullstop (1.000 and not 1000 for area and 1.000.000 and not 1000000 for price)? I changed:

    $objects[] = JHTML::_(‘select.option’, $options[$n – 1] . ‘-999999’, ‘> ‘ . $options[$n – 1]);
    to
    $objects[] = JHTML::_(‘select.option’, $options[$n – 1] . ‘-10.000.000’, ‘> ‘ . $options[$n – 1]);

    Because i want to have prices more than 1.000.000 €.

    Maybe this be a problem?I don’t know what to do and the results don’t work properly. I attached the file “/plugins/search/jak2_filter/jak2_filter.php” to see if i changed anything to file and is not working properly. Please help. My client is unhappy.


    1. jak2_filter-2.rar
Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  smousionis 12 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum