Skip to content

Commit

Permalink
Merge pull request #1309 from dandi/update-frontend-new-version-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh authored Oct 4, 2022
2 parents 2ce2926 + b5874c6 commit 3ef7a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const dandiRest = new Vue({
},
async mostRecentVersion(identifier: string) {
// Look up the last version using page filters
const versions = await this.versions(identifier, { page_size: 1, ordering: '-created' });
const versions = await this.versions(identifier, { page_size: 1, order: '-created' });
if (versions === null) {
return null;
}
Expand Down

0 comments on commit 3ef7a44

Please sign in to comment.