This topic is locked

How to Hide search Options

2/15/2010 11:07:32 AM
PHPRunner General questions
S
swanside author

I am using the Madrid Layout and from my list table, I have the search options on the left of the screen. I press the up arrows to hide it, but when I edit a job and go back to my list the search options are there again, and so I have to hide them again. Is there a way to hide the search options until you select to unhide the search options so it wont just keep showing up?

Cheers
Paul

E
electromotive 2/15/2010



I am using the Madrid Layout and from my list table, I have the search options on the left of the screen. I press the up arrows to hide it, but when I edit a job and go back to my list the search options are there again, and so I have to hide them again. Is there a way to hide the search options until you select to unhide the search options so it wont just keep showing up?

Cheers
Paul


I'd like to see a resolution to this as well. This persistant "show search options" happens on the tables where there's a selection in the Fields Tab - Quick Search. What's missing is the either a default mode (off or on), or a state variable to remember whether its off or on for at least the session, or even across sessions like how the opening menu is expanded.
Maybe someone knows of a way to access this option flag on a List Page Event ?? If I get time to sift through the code and find anything, I'll get back.

S
swanside author 2/18/2010

Just a bump to see if anybody knows?

M
marke 2/18/2010

Paul
I have the same problem - the new on-list page searching doesn't work well with a list layout that uses the full width of the screen. I haven't managed to find a solution apart from removing the entire search code using the editor page - not ideal!. It doesn't even seem possible to turn off this functionality by specifying no search fields.
Your proposed solution of having an option to decide whether the search is on/off would solve part of the problem for my application but I'm not sure it would also solve the layout problem as it looks to me as if it is going to reserve 200px on the left for the search box.
Neither the floating panel, nor the fixed panel really work well for my application. Does anybody have a workaround to get close to the 'classic' pre-5.2 search functionality. If I can't find a fix to this I am going to have to stay with 5.1 for our main applications as the current search approach does not work well if you have a lot of data on the list page. This will be a pity as I like some of the new features in 5.2
regards
Mark

S
swanside author 2/18/2010

If I hide the search panel, my page goes to the full screen, which is good, but, I would still like to decide if there is a way of the user decideing if they want the quick search on or off.

Sergey Kornilov admin 2/18/2010

Your prayers were answered. In build 4845 you can switch between new (Google-like) and old (Contains, Any field, Search box) ways of doing basic search. Besides that Search panel can be turned off and on.
This can be done on 'Choose pages' screen under List page options.
We'll also supply an example of how you can display/hide search panel programmatically (if search panel is enabled of course).

E
electromotive 2/18/2010



Your prayers were answered. In build 4845 you can switch between new (Google-like) and old (Contains, Any field, Search box) ways of doing basic search. Besides that Search panel can be turned off and on.
This can be done on 'Choose pages' screen under List page options.
We'll also supply an example of how you can display/hide search panel programmatically (if search panel is enabled of course).



Thanks, Trying it now, all of my list pages need to be reset as result of trying this. Some look more scambled than others, but they all need to be reset. Also appears to need to reset some edit pages too, replace the custom javascript... Quite possibly needing to reset all the pages has to do more with upgrading from 4689 to 4845, rather than changing search panel options? Time will tell.
Right. Looks good. I like the search options. Old and the new options. Thank you team.

Sergey Kornilov admin 2/18/2010

We have found one issue in this update though. If search panel is enabled one or more fields are selected as 'quick search' switching between tables will multiply quick search fields on the panel. This is obviously related to 'autosave search panel state' feature that was added in the latest update as well.
We'll have a fix available tomorrow.

M
marke 2/19/2010

Thanks for the quick response on this Sergey - much appreciated. I'll wait for next build before I get going on the application migration again.

S
swanside author 2/19/2010

OK, I like the extra options to Show the search and hide it, but, I still have the same problem.
I go to my list page, the quick search is on the left., I press the double up arrows to hide it and it goes. OK.

Now, I go to edit a job, when I click go back to list the QUick search is there again? I have to press the double up arrows again to hide it again. It seems to forget what option it was last at.
We like the quick search, as we tend to search on one, two or three fields at a time, so it would be nice if we could have the Show Search Options to stay either Open or closed and not just reopen on its own accord, Maybe in the Choose pages there could be an option for default QUick search, On or Off?

Cheers

Paul.

J
Jane 2/19/2010

Hi,
we'll fix this issue in the next update.