![]() |
|
[1.4.3-BETA [10295] Search form reset - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: [1.4.3-BETA [10295] Search form reset (/thread-10076.html) |
[1.4.3-BETA [10295] Search form reset - Michel - 12-06-2012 Hi all, Today I installed 1.4.3-BETA [10295]on my testserver. With this build the new searform reset is introduced. In my search options I enabled the Default search "new" option with the Redo search after on "0 minutes". When I do a search the searchform should be resetted, but the old search criteria stay's on. For example: My testpictures called IMG_1001, IMG_1002 etc. , when I do a search with only IMG I get all pictures in the searchpage. When I do a new search IMG I get the this --> (((img) AND (img)) AND (img)). The searchform does not reset, but when I remove the jquery.js in the header the searchform reset works. This is tested with a fresh trunk [1.4.3-BETA [10295] with the default theme. Is this a error or do I something wrong? TIA [1.4.3-BETA [10295] Search form reset - sbillard - 12-06-2012 Do I understand you correctly that you have the The behavior you describe is exactly what would be expected when you perform a search from the results of a prior search. You are searching within that result. There is no telling what will go wrong if you remove the jQuery load in your header. So I cannot comment on that. But if you wish to "clear" the previous search results you should click on the [1.4.3-BETA [10295] Search form reset - Michel - 13-06-2012 Hi sbillard, Indeed, the cache expiry has nothing to do with the search reset...my bad. When I remove the jquery the radiobutton is not visible anymore, true. But in the search options tab (admin part) there is a default search "new" and a 'within" option. When I select "new" I still need to select "new" on the radio button, this is confusing. I thought that if I select "new" in the search option tab that the search would be "new" on default. Now I select "new" in the search option tab, but on a search the "within" radio button is standard selected. Michel [1.4.3-BETA [10295] Search form reset - sbillard - 13-06-2012 Yes, if you have completed a search the standard will be within. Isn't that what I just said? If that is not what you want (for most people it is) then you select the within button. |