#718 – ricerca automatica superficie minima

Posted in ‘Domus Organizer’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 14 April 2017 23:05 CEST
Se entro nella scheda cliente dove ho impostato nella richiesta la superficie minima in mq richiesta, quando effettuo la ricerca automatica dell'immobile questa non tiene conto di tale parametro. Come posso aggiungerlo? Quale file dovre modificare? Ho provato modificare il file autosearch.php che si trova nel path propeties aggiungendo ->sup_min($customer->cu_req_min_space)

$properties  = F0FModel::getAnInstance('Properties', 'DomusModel')
					->search_type(1)
					->not_prop_owner($id_cust)
					->price_min($customer->cu_req_max_price * 1)
					->price_max($customer->cu_req_max_price * 1)
					->type_search($customer->cu_req_id_types)
					->cat_search($customer->cu_req_id_categories_1)
					->cat_search2($customer->cu_req_id_categories_2)
					->cat_search3($customer->cu_req_id_categories_3)
					->sup_min($customer->cu_req_min_space)
					->limitstart(0) 
					->limit(50)
					->filter_order('pr_price')
					->filter_order_Dir('ASC');



Grazie
Custom Fields
Joomla! Version 3.6
Extension version (x.y.z) 4.1.1
 
astegiudiziarieassistenza
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

SUPPORT IS PROVIDED IN ENGLISH OR ITALIAN ONLY.
Please make sure that your question is not answered in the documentation before submitting a ticket.
It will save you time!

SUPPORT IS PROVIDED TO SUBSCRIBERS ONLY.
You can review all public tickets, but if you want to open a new ticket you must have a valid subscription.
You can purchase it here