When viewing the results page of a bulk export the views menu tabs are not shown, so it makes it trouble to continue using views, you have to use your browser 'back' button, or navigate right through from the admin starting route.
This is caused by maybe an oversight in views_export_menu() where the 'type' for admin/build/views/tools/export/results is defined as MENU_CALLBACK whereas if it was set to MENU_LOCAL_TASK then you get the tabs displayed. See the attached screen grabs, before and after this change.
I'll make a patch for this.
Jonathan
Comments
Comment #1
jonathan1055 commentedHere is a patch for D6, which will apply in views 2.11, 3.0 alpha3 and 3.0 dev of 26th Nov.
The patch will need to be re-rolled for D7, which I am happy to do if someone gives the OK that this is an improvement that we'd like.
Jonathan
Comment #2
merlinofchaos commentedAssigning to letharion for review.
Comment #3
Letharion commentedTested this on 2.11 and 3.x-dev, and the patch works as advertised. The menu is indeed missing without the patch, and it shows up as expected with it.
I'm not sure where the 'title' is supposed to end up though, I don't see it anywhere?
I also have a strange issue on 3.x-dev where removing and re-applying the patch doesn't work, but that is most likely a local problem as the patch seems to simple to cause this. Will try again on a clean site later.
Comment #4
Letharion commentedIndeed, trying again from a clean site, applying, removing, and re-applying the patch works just fine on 3.x-dev.
Comment #5
merlinofchaos commentedApplied to D6 branches. Needs work to port to D7.
Comment #6
dawehnerPorted
Comment #7
jonathan1055 commentedI was just making a patch for D7 but you beat me to it. Thanks for committing.
Comment #9
jonathan1055 commentedSorry to re-open, but I have just downloaded 6.x-2.12 and this has not been applied to the D6 2.x branch as mentioned in #5.
Or maybe I mis-understood and you only intended to apply it to the 3.x branch?
Comment #10
dawehnerThis is part of views 2.x, but isn't part of views 2.12.
Comment #11
jonathan1055 commentedDo you mean that patches can be applied to 6.x-2.x-dev when 2.11 was the current release but they do not become part of the 2.12 release? I thought that everything in a -dev release would be present in the next full numbered release, but I'm happy to be corrected if this is wrong.
I can not find where the 6.x-2.x-dev release is listed for download to check. It does not seem to be in the 'all releases' page any more.
Comment #12
merlinofchaos commentedThe Drupal infrastructure team recently released a feature allowing us to do security release branches individually. I was able to release 2.12 without all of -dev in order to get that security patch without endangering people's sites with code in the -dev branch that has not been thoroughly vetted.