Closed
Bug 860132
Opened 12 years ago
Closed 12 years ago
Ratings API does not provide "for_old_version" field
Categories
(Marketplace Graveyard :: API, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-04-18
People
(Reporter: basta, Assigned: chuck)
References
Details
(Whiteboard: [fireplace] p=1)
for_old_version returns either null/false if the rating was left on the app for the most recent version of the app, or a version number (as a string) if the rating was left for a version which is not the most recent version of the app.
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
OS: Mac OS X → All
QA Contact: charmston
Hardware: x86 → All
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → charmston
QA Contact: charmston
Comment 1•12 years ago
|
||
wouldn't it make sense just to return the version the rating was for and let the client calculate if its old?
Reporter | ||
Comment 2•12 years ago
|
||
If the user is deep linked to the ratings page, we don't know what the current version is.
Comment 3•12 years ago
|
||
Fair enough, having the version it was rated for seems like it could be useful to others. Could we just add in for_version as well as for_old_version.
Reporter | ||
Comment 4•12 years ago
|
||
I have no problem with that.
Assignee | ||
Comment 5•12 years ago
|
||
Landed: https://github.com/mozilla/zamboni/commit/e5d8eb8eaa811f506a819beba0a1dd7eb75a0028
Docs for `version`: https://zamboni.readthedocs.org/en/latest/topics/api/ratings.html
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → 2013-04-18
Assignee | ||
Updated•12 years ago
|
Whiteboard: p=1
Updated•12 years ago
|
Whiteboard: p=1 → [fireplace] p=1
You need to log in
before you can comment on or make changes to this bug.
Description
•