By pacoverde on
Running Drupal-5.7 on FreeBSD 6.2, a view should refresh its listing each time it is called, shouldn't it? I.e. if the data in a node matching the criteria of the filter changes so that the node no longer matches the view criteria the node should no longer be listed by the view.
Or am I way off base here?
If not, how would one get the view to "refresh" its listing?
--
Thanks,
Glenn Gillis
ELAW U.S. Information Technology Manager
Environmental Law Alliance Worldwide
http://www.elaw.org
Comments
yes. views are dynamic and
yes. views are dynamic and will respond to the node criteria, even if altered.
maybe you can describe the exact situation a bit more?
its pretty likely your node is not showing up for a 'good' reason, meaning you're not asking for it properly...
can you:
see all the nodes with a pager (maybe you're missing it)
change ascending/descending?
Answers and our exact situation
Thanks, Kevin. Answers to your questions below, but here's our exact situation:
We recently migrated to Drupal from a custom-developed CMS that contained several thousand documents organized in a very simple one-level-deep topic list, with each of the documents able be assigned two terms from this topic list.
Before migrating these documents to Drupal, we created a taxonomy named "Intermediary Topics" which mirrored the topic list in the custom CMS. We then also created a multi-level hierarchical "ideal" taxonomy named "Ideal Topics." When migrated, the documents were assigned one or two terms from the "Intermediary Topics" taxonomy, thus retaining their original categorization. Eventually, the "Intermediary Topics" taxonomy will go away, but first our staff and some volunteers have been going through each document, assigning terms from the "Ideal Topics" taxonomy (which differs substantially from the "Intermediary Topics" taxonomy.)
Currently, we have a view defined which is intended to display any of these documents that do *not* yet have a term assigned from the "Ideal Topics" taxonomy. Staff or volunteers make their way down the items in the view, assigning terms from the "Ideal Topics" taxonomy as they go.
The problem comes in when someone new visits the view and finds that documents that have recently been assigned terms from the "Ideal Topics" taxonomy are *still* listed by the view.
This is how I have constructed the view:
[X] Provide Page View
URL: "resources/no_new_taxonomy"
View Type: "Table View"
[X] Use Pager
Nodes per Page: 25
Fields:
"Taxonomy: Terms for Resource Type" Option: "Without links"
"Node: ID" Sortable: No
"Node: Title" Handler: "Normal" Option: "As link" Sortable: "Yes" "Ascending"
Filters:
"Taxonomy: Terms for Resource Type" "Is One Of" [nothing selected]
"Taxonomy: Terms for Ideal Topics" "Is None Of" [nothing selected]
Exposed Filters:
"Taxonomy: Terms for Resource Type" (no options on this line selected)
> can you:
> see all the nodes with a pager (maybe you're missing it)
Yes; the problem is that we're seeing nodes that we *shouldn't* see;
> can you:
> change ascending/descending?
Yes, on title (which is the only field set to sortable.)
--
Cheers and thanks for any help you can provide,
Glenn
I believe the problem is
I believe the problem is with your taxonomy filter for "Ideal Topics". You have defined it as "Is None Of" but you selected nothing. Try selecting all the terms in the option select for this vocabulary, save your view and the clear the views cache. This should fix it.