Merge pull request #364 from eReuse/bugfix/3843-after-action-go-to
after do action from all device go to all device view
This commit is contained in:
commit
187abd550d
|
@ -654,6 +654,8 @@ class NewActionView(View):
|
|||
if lot_id:
|
||||
return url_for('inventory.lotdevicelist', lot_id=lot_id)
|
||||
|
||||
if url_for('inventory.alldevicelist') in (request.referrer or ''):
|
||||
return url_for('inventory.alldevicelist')
|
||||
return url_for('inventory.devicelist')
|
||||
|
||||
|
||||
|
|
Reference in New Issue