This is a follow-up to the issue URL query parameters when using "Save and Add another" button.

Some modules like Entity Reference Prepopulate require the user to pass query parameters in order to access certain node forms. These are removed when using add another.

I can't figure any reason why only destination should be passed when adding another item, but I haven't done very much research. Maybe there is a very good reason to only pass the destination parameter.

If not, using drupal_get_query_parameters() still solves the case with the destination-parameter, and also solves the use case described in this issue.

Comments

kevineinarsson created an issue. See original summary.

kevineinarsson’s picture

StatusFileSize
new864 bytes
kevineinarsson’s picture

Status: Active » Needs review
david.qdoscc’s picture

Thanks. #2 works for me

David Hernández’s picture

Status: Needs review » Reviewed & tested by the community

The patch seems to be working correctly. Marking this as RTBC.

amir simantov’s picture

#2 works well also for me.

neslee canil pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

kristofferwiklund’s picture