Destination into link

checker - February 20, 2009 - 17:15
Project:Content Management Filter
Version:6.x-1.6
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Please add this little into the link for node operations:

?destination=admin/content/filter

Same like in drupal's content overview. It makes changes mutch easier if you get back to admin after saving!

#1

checker - February 20, 2009 - 17:16
Title:Destionion into link» Destination into link

#2

Nuno Veloso - March 12, 2009 - 21:37
Status:active» fixed

Hello! Sorry for being away but I have been very very busy lately.

This issue is fixed on stable version 1.6.

Thank you.

#3

System Message - March 26, 2009 - 21:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

checker - June 22, 2009 - 16:43
Version:6.x-1.4» 6.x-1.6
Status:closed» active

Hello!

This issue is fixed on stable version 1.6.

I'm using v 1.6 but i can't find this issue implemented?!

#5

NancyDru - July 13, 2009 - 20:11

It works fine in 5.x-1.4. But you are correct, this is missing in 6.x.

Find the line that says

      $form['operations'][$node->nid] = array('#value' => l(_cmf_get_img('edit', t('edit')) .' '.
        t('edit'), 'node/'. $node->nid .'/edit', array('html' => TRUE)));

and change it to:
      $form['operations'][$node->nid] = array('#value' => l(_cmf_get_img('edit', t('edit')) .' '.
        t('edit'), 'node/'. $node->nid .'/edit', array('query' => $destination, 'html' => TRUE)));

#6

NancyDru - July 15, 2009 - 14:16

This fixed in the patch in #517880: Coding standards.

#7

NancyDru - July 15, 2009 - 18:45
Status:active» fixed

Committed to 6.x-1.x-dev versions.

#8

NancyDru - July 20, 2009 - 14:12
Status:fixed» closed

Included in new release.

#9

tuffnatty - July 27, 2009 - 10:17

Sadly, this does not solve the issue when after, e.g., deleting multiple checked nodes, you end up in admin/content/node instead of admin/content/filter.

#10

NancyDru - July 27, 2009 - 13:23

Okay. Would you mind opening a new issue for that, please?

 
 

Drupal is a registered trademark of Dries Buytaert.