Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] Show modified date in hint #47

Merged
merged 8 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix release discogs search link
  • Loading branch information
Serhii-DV committed Jul 31, 2024
commit bed62d6e8a6c6249efea978cc40b1c080062c784
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- popup: Dashboard was not active on non-bandcamp pages
- popup: Console was broken
- popup: Fixed release Discogs search link

## 0.11.0 (2024-07-29)

Expand Down
4 changes: 2 additions & 2 deletions src/discogs/modules/discogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export function releaseToDiscogsCsv(release) {
}

export function getSearchDiscogsArtistUrl(artist) {
return replaceTokens(config.discogs_search_artist_url, {artist: artist});
return replaceTokens(config.discogs_search_artist_url, {artist: encodeURIComponent(artist)});
}

export function getSearchDiscogsReleaseUrl(artist, release) {
return replaceTokens(config.discogs_search_release_url, {artist: artist, release: release});
return replaceTokens(config.discogs_search_release_url, {artist: encodeURIComponent(artist), release: encodeURIComponent(release)});
}

/**
Expand Down