Closed (fixed)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2006 at 22:56 UTC
Updated:
1 Jun 2006 at 15:30 UTC
Nodes created with CCK that include Location information do not show in Location Table Views.
Nodes created with Story module that include Location information show in Location Table Views.
Using latest version of Location, Views and CCK
Comments
Comment #1
karens commentedI have no trouble getting both cck and location info into views. Are you using the location views module?
Comment #2
coupet commentedyes, using Location views module
Comment #3
karens commentedThere were a lot of changes to views in the last few days, so I just made sure I have all the latest updates just in case there were any changes that affected this module. I can still combine cck and location fields in a view with no problem so I can't replicate your issue. I'm trying to think what could be different in your setup than in mine.
I forgot to ask whether you cleared your cache. If so, I guess anything you can tell me about your setup that might help me replicate your situation would help.
Comment #4
karens commentedAlso, can you double check that the right cck content type is displayed in your filter. I did notice that the content type showing up in my default view is no longer right, so I need to see why that is. That should not affect any view that has the right content type selected.
Comment #5
karens commentedI found that there has been a change in the way that cck handles module info. I used to be able to get a list of cck content types using the module_list function, but now they all come back with the type 'content'. That's why my check for location-enabled content types was missing cck types. I just uploaded a fix to cvs that has a work-around to add the cck types to my list. That change only affects the content types that are pre-selected in the default view, but maybe that was your problem.
Comment #6
coupet commentedUpdated to latest cvs as advised and works now with the nodes created with CCK that include Location Information are shown. good.
other messages when choosing:
Name: All City: All Province: All Country not = Anguilla
note: there is no information with location country Anguilla.
Comment #7
karens commentedWell I have to say that is not an option I tested :-)
I will look into it.
Comment #8
karens commentedOK, I think I found the problem. Can you try again with latest cvs?
Comment #9
coupet commentedworks and no warnings messages.
other observations:
the Page listings number 1 2 Next and Last Button are shown in first page and not on the following pages.
Unable to show all listings for all countries in Country options selection
Comment #10
karens commentedThe countries list is limited to the countries you enabled in your locations settings. That is by design, but if that seems like a bad design I am open to suggestions.
I can't reproduce the paging problem. Any chance you just need to clear your cache?
Comment #11
coupet commenteddesign is excellent, but the user can choose one country (good) not all countries; I think the (All) option is not listed under Country.
to see the error, need to have more than 10 nodes that meet condition (a)
a.- Name: All City: All Province: All Country: Not Anguilla
b.- results display more than 10 nodes
c.- click one of the options [1 2 3 4 5 next last], it list the next page
d.- there is no page numbering or previous page button
e.- BUT the current Views parameters are CHANGED in the Next page to:
f.- Name: All City: All Province: All Country: United States <--here
The Country selection option is being changed in the next page!
Comment #12
karens commentedI still can't reproduce this, I get the option on every page plus all the right paging alternatives. You are using the very latest version of everything, right? Both location_views and views have had cvs changes today. If you have all the latest cvs and you have cleared your cache and are still getting this error, export the view you are using and paste it into a message here. Maybe I can get some clue from that about what is going on.
Comment #13
karens commentedAlso, please tell me what countries you have enabled in your location settings.
Comment #14
coupet commentedAs advised, latest version of Views resolved all outstanding issues.
In reference to Country selection, there is not option to do a Worldwide search or All countries?
Comment #15
karens commentedYes, you should see an *all option under countries. Check your exposed filter setup to be sure you have the right options available.
Comment #16
coupet commentedfor Country, there are 2 options:
1.- , =, not = (this is ok)
2.- Anguilla, Aruba, ..., United States, (this option forces a country selection even if All is selected above)
All and None can be added to option list, similar to Province option
sorry for the misunderstanding.
Comment #17
coupet commentedHi Karen,
In exposed filters, for Location: Country, I checked the box for Optional and the All option is now available. As advised, it is a subjective issue.
thanks for a great contrib.
Comment #18
(not verified) commented