﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5775	staff_member_required decorator loses query parameters	jdetaeye	nobody	"
To reproduce the problem:


1. Open a new browser window

2. Enter a admin url that uses a query parameter.
 A good example is the url for displaying a filtered or sorted list of objects: {{{/admin/yourapp/yourmodel/?yourfield__exact=12}}}

3. Since you're not authenticated yet, the login page is shown.

4. After a successfull login, you will be redirected to the page: {{{/admin/yourapp/yourmodel/}}}

   
The query parameter is lost along the way...[[BR]]
Keeping the query parameters is handy when e.g. the user wants to bookmark such a filtered or sorted list.

The fix is pretty simple: The problem is the use of the request.path field, rather than the request.get_full_path method.[[BR]]
The change affects affects both the normal admin as well as the new-forms admin branch, and the same patch applies."		closed	contrib.admin	newforms-admin		duplicate	admin staff_member_required sprintdec01 nfa-someday		Ready for checkin	1	0	0	0	0	0
