I'm looking for a function that is capable of the following function:

if a user enters 20 in field_value_minimum and 25 in field_value_maximum, the computed field would be populated with the values "20,21,22,23,24,25".

The node should become searchable now with terms of 20,21,22,23,24,25.

Is this module capable of doing such?

Thanks.

Comments

crea’s picture

Category: feature » support

In your scenario node will be searchable with "in between" set to "> 19" and "< 26". It won't be searchable with 21 if you use "EQUALS" operator, simply because 21 doesn't equal 20. To be searchable with 21 new Views handler operator will be required. I may implement it later.

crea’s picture

Title: do » Range search
Category: support » feature

Hmm, that makes very nice feature request.

crea’s picture

Category: support » feature

Any ideas how to name it ? There's "in between" but it does opposite job.

held69’s picture

There should be something for it to call :), as long as your accompanied with a clear description.

Any ideas of when your module will be ready for productions sites/ final port to D6?

Thanks

crea’s picture

Well, it should be ready now. Since this is fork of Money CCK, there should not be many bugs brought.
I have made it for my own project so you can be sure I will fix any bugs reported asap. So the more people start using it the faster remaining bugs will be revealed. And as with any software, there are always bugs, and that is ok even for stable software. In Drupal world it is generally ok to run betas :)

held69’s picture

Just tested, the overlap function in views should do the trick.
It would be used to search in age range.

Thanks for you info

crea’s picture

Yes, basically it's same as "overlaps". I thought to suggest it, but wasn't sure it works for single value search.

crea’s picture

Status: Active » Postponed (maintainer needs more info)

Hope that worked for you! Please reopen if not.

held69’s picture

Status: Postponed (maintainer needs more info) » Fixed

Yes it totally did.

Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.