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={}))

        elif r.http == "GET":

After Change


                                    )

                else:
                    self.next = URL(c="event", f="incident",
                                    args = [],
                                    vars = {"~.id__belongs": ",".join(assigned)},
                                    )
            return {}

        elif r.http == "GET":
Italian Trulli
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: comic/grand-challenge.org
Commit Name: 6789d0372044e4234d209710910f9a56efaaf586
Time: 2019-05-14
Author: code@jmsmkn.com
File Name: app/grandchallenge/profiles/views.py
Class Name:
Method Name: profile_edit_redirect


Project Name: mailgyc/doudizhu
Commit Name: 001177e85fe09a3a2fd4c30600a42b92902b3d43
Time: 2019-09-30
Author: gaoyc@outlook.com
File Name: doudizhu/apps/account/views.py
Class Name: LoginHandler
Method Name: post


Project Name: comic/grand-challenge.org
Commit Name: 6789d0372044e4234d209710910f9a56efaaf586
Time: 2019-05-14
Author: code@jmsmkn.com
File Name: app/grandchallenge/profiles/views.py
Class Name:
Method Name: profile