Page MenuHomePhabricator

Ensure that renewals from partner pages attempt to renew the correct (latest) application.
Closed, ResolvedPublic

Description

The Renew button on partner pages may not be correctly identifying the user's latest application or renewal to Renew. We should find it by selecting the most recent sent application.

More specifically, we should make sure that this line (https://github.com/WikipediaLibrary/TWLight/blob/master/TWLight/resources/views.py#L112) is ordering in the right way for users with an imported app and a renewal of that imported app.

Event Timeline

Samwalton9-WMF renamed this task from Ensure that renewals from partner pages renew the correct (latest) application. to Ensure that renewals from partner pages attempt to renew the correct (latest) application..Aug 31 2018, 9:49 AM
Samwalton9-WMF moved this task from Planned to Done on the Library-Card-Platform board.

In a shocking turn of events, that line wasn't ordering correctly, and is reversed in https://github.com/WikipediaLibrary/TWLight/pull/138, along with some other improvements to that button's functionality.