Custom/Advanced Search - The answers

10 years 5 months ago #101425 by beat
Confirmed that if maximum age is maximum, search still doesn't work.

Reopened old bug #214

Kyle is looking into a fix, and will post here when done.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
10 years 5 months ago #101430 by krileon
Confirmed bug, investigated, fixed. Will be available in next mini-release, but the following is the fix:

In: components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php

On: 1541
Change:
[code:1]
if ( $minValIn && ( $minValIn > $yMinMin ) ) {
[/code:1]
To:
[code:1]
if ( $minValIn && ( $minValIn >= $yMinMin ) ) {
[/code:1]

On: 1547
Change:
[code:1]
if ( $maxValIn && ( $maxValIn < $yMaxMax ) ) {
[/code:1]
To:
[code:1]
if ( $maxValIn && ( $maxValIn <= $yMaxMax ) ) {
[/code:1]

Please test and report back your findings, would be greatly appreciated. B)


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
10 years 5 months ago #101444 by alfons
@ beat

Thanks for re-opening the issue.

@ krileon

Thanks for the solution. I tested it and found it working properly. Keep up the good work!
10 years 5 months ago #101527 by alfons
alfons wrote:

@ beat

Thanks for re-opening the issue.

@ krileon

Thanks for the solution. I tested it and found it working properly. Keep up the good work!


Sorry guys. My reply was a bit too early. I found it was not working properly when:
- You use Advanced Search
- Search on Age
- NOT IS between 20 and 30 gives the same result as IS between 20 and 30
10 years 5 months ago #101762 by alfons
Any news about the fact that the advanced search is not working properly with this fix?

Post edited by: alfons, at: 2009/06/14 15:51
Moderators: beatnantkrileon
Time to create page: 0.438 seconds
Facebook Twitter Google LinkedIn