Custom/Advanced Search - The answers

11 years 1 month ago #101425 by beat
Replied by beat on topic Re:Custom/Advanced Search - The answers
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

Please Log in to join the conversation.

11 years 1 month ago #101430 by krileon
Replied by krileon on topic Re:Custom/Advanced Search - The answers
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 - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.

Please Log in to join the conversation.

11 years 1 month ago #101444 by alfons
Replied by alfons on topic Re:Custom/Advanced Search - The answers
@ 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!

Please Log in to join the conversation.

11 years 1 month ago #101527 by alfons
Replied by alfons on topic Re:Custom/Advanced Search - The answers
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

Please Log in to join the conversation.

11 years 1 month ago #101762 by alfons
Replied by alfons on topic Re:Custom/Advanced Search - The answers
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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.442 seconds

Facebook Twitter LinkedIn