0360af501f110f62f0465186d1201826efb40a49,modules/s3db/event.py,event_IncidentAssignMethod,apply_method,#event_IncidentAssignMethod#Any#,5939
Before Change
// FIXME: should we really redirect if we have assigned
// to more than one incident?
// => arbitrary last_assigned => confusing UX
redirect(URL(c="event", f="incident",
args=[last_assigned, self.next_tab],
vars={},
))
else:
redirect(URL(args=r.args, vars={}))
After Change
self.next = URL(args=r.args, vars={})
elif added == 1:
self.next = URL(c="event", f="incident",
args = [assigned[0], self.next_tab],
vars = {},
)
else:
self.next = URL(c="event", f="incident",
args = [],
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: sahana/eden
Commit Name: 0360af501f110f62f0465186d1201826efb40a49
Time: 2018-09-26
Author: dominic@nursix.org
File Name: modules/s3db/event.py
Class Name: event_IncidentAssignMethod
Method Name: apply_method
Project Name: andresriancho/w3af
Commit Name: 9bcd58688260abfff09dfdd1e97a464f069c3ee9
Time: 2018-04-05
Author: self@andresriancho.com
File Name: w3af/core/data/parsers/doc/open_api/requests.py
Class Name: RequestFactory
Method Name: get_uri
Project Name: sahana/eden
Commit Name: 2ae0f1a6bd4ad9325e0f7a2d1d9d1200c47cc39b
Time: 2020-03-03
Author: dominic@nursix.org
File Name: modules/s3/s3payments.py
Class Name: PayPalAdapter
Method Name: register_subscription
Project Name: sahana/eden
Commit Name: 6889b8464e5dba3f665e3f78e84d391547a5b1fe
Time: 2019-07-25
Author: fran@aidiq.com
File Name: modules/templates/UCCE/controllers.py
Class Name:
Method Name: project_project_list_layout