|
03-04-2004, 03:19 PM | #1 |
Green Mole
Join Date: Mar 2004
Posts: 4
|
SEARCH_DEFAULT_MODE Ignored
I'm new to PhpDig so forgive me if I just don't understand.
I've modified my config and set the SEARCH_DEFAULT_MODE to any but it does not seem to work. Looking at the code, function phpdigMakeForm, it really doesn't matter what you specify because it's the default is 'start' because of the default value in the method. Since that is the case it's always defined and never grabs the value from SEARCH_DEFAULT_MODE. Can someone show me the way? Thanks. |
03-05-2004, 02:13 AM | #2 |
Orange Mole
Join Date: Nov 2003
Posts: 42
|
Hi
I noticed this also and corrected that in my admin panel mod. You can download it from mod submission forum. Only required file is search.php but by using the hole mod you can control several things directly from admin page. -m- |
03-05-2004, 12:12 PM | #3 |
Green Mole
Join Date: Mar 2004
Posts: 4
|
For now I just passed 'any' for $option and that seems to work for now. I'll see if I can log this as a bug.
Actually, can we confirm this is a bug and i'm not going too crazy? And if so can the moderator move this thread over the to bug tracker forum? Thanks. Last edited by stsopswen4; 03-05-2004 at 12:15 PM. |
03-05-2004, 01:19 PM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. In search_function.php replace:
PHP Code:
PHP Code:
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
03-11-2004, 05:08 PM | #5 |
Green Mole
Join Date: Mar 2004
Posts: 4
|
Will this make it into the next revision?
|
03-11-2004, 05:39 PM | #6 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
>> Will this make it into the next revision?
Hi. Sure, if I remember to stick it in. Humor aside, it's on the list so I should remember.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
03-12-2004, 09:33 AM | #7 |
Green Mole
Join Date: Mar 2004
Posts: 4
|
Thanks.
|
06-05-2004, 07:17 AM | #8 |
Orange Mole
Join Date: Nov 2003
Posts: 42
|
Also search default limit must be changed. How about code a little bit later, obsolete or not? What I understand it never get parsed.
PHP Code:
|