Nothing saved when used with Views Fusion
sdsheridan - November 6, 2007 - 18:21
| Project: | Views Saved Searches |
| Version: | 5.x-1.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Wim Leers |
| Status: | duplicate |
Jump to:
Description
I've followed the installation instructions, and have all the required modules installed as well into a Drupal 5.2 installation using MySQL. The box shows up on the view, initially with "No saved searches for this view.", and then later, once I've set the filters with a "Name" text box and the save search button, but once i put in a name and click the button, nothing happens (no message, no nothing), and coming back to that view, it still tells me "No saved searches". Help!

#1
Hey Wim :) I get the same, also on Drupal 5.2.
#2
I'll give it a look as soon as I'm finished with my Hierarchical Select bug fixing and feature adding spree.
Note that saved searches are cleared every time that you edit your View. Please confirm that you did test without altering the View.
#3
For sure tested without altering the view. The only "odd" thing I can think of is perhaps the view I'm trying to save the search for is a views-fusion view, with the filters in the fused (child) view. But I'm hoping this will work with views-fusion views...
#4
It's very possible that that doesn't work right, I'm afraid.
Now I think of it, I think it *needs* a valid vid (View id), so Views defined as default Views (in hook_views_default()), i.e. Views that live in code instead of the DB, may not work. I'm not sure about that though.
#5
hmmmm... any way it can be made to work? This feature is kind of critical to my site. I'd try and do it myself, but I'm not a php programmer :(
#6
Please be patient.
As I said: "I'll give it a look as soon as I'm finished with my Hierarchical Select bug fixing and feature adding spree." ;)
#7
Thanks, Wim! Much appreciated. :-)
#8
I just tried my local installation and it worked just fine. I've just committed updated code that allows you to hide/save saved searches - this was sponsored by Paul Ektov more than 3 months ago but I forgot to commit it here.
This commit doesn't affect the the "core" of Views Saved Searches though, so this couldn't have made the difference in my testing. Please give it another try.
Steps to use Views Saved Searches are:
1) Install it and its dependencies (jQuery Form).
2) Go to a View that has exposed filters.
3) Change the filters and hit the "Submit" button of the exposed filters.
4) If this combination of exposed filters hasn't been saved yet, you will have the ability to save the search.
5) You get a box beneath the exposed filters, above the actual View, in which you can see all saved searches. They're links, and clicking them will restore the search (i.e. the combination of exposed filters).
#9
Wim:
I think it might be the views-fusion that's causing my problem. I tried it on another installation with a simple, one-table view, and ti worked there too. So, is there any way to make it work with a views-fusion view? For example, views_savefilter does, but of course it only saves the last filter and automatically retrieves it, with is not really what i need...
thx, Shawn
#10
I have never used nor installed Views Fusion. If you can provide me FTP and Drupal admin access to a test site of yours, I can figure out why things are going bad.
#11
Wim:
If you go to http://test.livingoutthere.com and create an account, as soon as I'm notified, I'll mark it as an administrative-powered account.
The FTP bit is trickier, as it's a shared FTP with the production site, so I can't open it up completely. I'll have to figure out how to do that, so that you have just FTP into that test site.
Thanks so much for the help!
P.S., if you prefer, we can communicate via eMail through administrator@livingoutthere.com .
#12
Automatically closed -- issue fixed for two weeks with no activity.
#13
#14
Seems this is actually a cross-post of #199911.