Перейти к содержимому


Фотография

Pre-sale Filter


Сообщений в теме: 3

#1 Distael

Distael

Отправлено 16 October 2014 - 18:14

I have a database with information about tropical fish. I would like to make a filter using a minimum and maximum temperature. Is it possible to create a filter like that?

 

For example:

 

Fish A

Minimum temperature: 18 

Maximum temperature: 24

 

Fish B

Minimum temperature: 22

Maximum tempterature: 27

 

I would like to make a search for fish that can be kept at temperatures between 23 and 28. The result should show both fish as they can be kept at 23 or 24 degrees and not showing fish that can only be kept at 29-30.  



#2 SmetDenis

SmetDenis

Отправлено 17 October 2014 - 05:01

Hello,

JBZoo can find items only with exact numbers.
Now it doesn't support searching range by range.
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#3 Distael

Distael

Отправлено 17 October 2014 - 14:03

Will it be very hard to change the code to make it possible?



#4 SmetDenis

SmetDenis

Отправлено 18 October 2014 - 06:59

Hello

 

Will it be very hard to change the code to make it possible?

 

Of course it possible, but I don't have any ready-use solution.

You need to know the PHP and some understanding how it works.


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.





Click to return to top of page in style!