Compare commits

..

No commits in common. "cc25b83b2e52e5bda582b4f775aaa883bf125322" and "06752ebcec9213b73d416f5ca628af282b589df9" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View file

@ -242,9 +242,7 @@ class Albums extends Pages {
const item = {
...album.toJSON(),
released: album.released
? formatDate(album.released, "MM/dd/yyyy")
: null,
released: formatDate(album.released, "MM/dd/yyyy"),
};
this.setPageContent("item", item);

View file

@ -175,10 +175,10 @@
let url = `/api/v1/albums?userId=${this.userId}&page=${this.page}&limit=${this.limit}&sort=${this.sort}&order=${this.order}`;
if ( this.artist ) {
url += `&artists_sort=${this.artist.replace('&', '%26')}`;
url += `&artists_sort=${this.artist}`;
}
if ( this.format ) {
url += `&format=${this.format.replace('&', '%26')}`;
url += `&format=${this.format}`;
}
if ( this.year ) {
url += `&year=${this.year}`;

View file

@ -229,10 +229,10 @@
let url = `/api/v1/albums?page=${this.page}&limit=${this.limit}&sort=${this.sort}&order=${this.order}`;
if ( this.artist ) {
url += `&artists_sort=${this.artist.replace('&', '%26')}`;
url += `&artists_sort=${this.artist}`;
}
if ( this.format ) {
url += `&format=${this.format.replace('&', '%26')}`;
url += `&format=${this.format}`;
}
if ( this.year ) {
url += `&year=${this.year}`;