Hi everyone,

This patch allows users to define ranged search for ubercart products' sell price.

It applies to the fsrange_number.module.

Best regards,

Fanyalla.

CommentFileSizeAuthor
fsrange_uc_sell_price.patch820 bytes6lv1

Comments

dicreat’s picture

Patch work for me.
Thanks!

6lv1’s picture

Sounds good :)

arski’s picture

Status: Needs review » Reviewed & tested by the community

brilliant stuff :)

arski’s picture

Status: Reviewed & tested by the community » Needs review

Maybe I was a bit hasty..

this seems to work.. and it seems to count the number of items in every range correctly.. but when I click on any of the options, it doesn't seem to filter the results of my search at all.. wondering if this is an issue of this patch or range fs or something..

vin247’s picture

Patch fails for me, get the following error:

Hunk #1 FAILED at 14.
1 out of 1 hunk FAILED -- saving rejects to file b/sites/all/modules/fsrange/fsrange_number.module.rej

I'm on drupal 6 using the same version of fsrange. Any help would be appreciated.

*EDIT* Applied the patch manually, seems to work now.

plach’s picture

arski’s picture

hmm, no dependency on fsrange for that module? sounds weird.. if it reimplements that feature, then why.. if it doesn't provide it, then it's useless kind of..

Either way, if it works, we should look at incorporating the functionality in here.. no need for yet another mini-module imo :o

vin247’s picture

Is it possible to apply greater than values using the php code?

@ plach... I've tried that module but unfortunately for me, although it counts the number of items correctly it doesn't filter the results

PS after applying this patch manually to fsrange it does the job, just need to be able to add a greater than option, ie 1000+

*EDIT* Just read the readme and api.txt file, I really need to go through these more often

arski’s picture

hmm, just found an issue with the above patch: the facet does not get removed from the "guided search" block if I select some range - the results are filtered correctly, and the facet is added to the "current search" block..

Is anyone still alive in this module? :)