diff --git a/static/v3/songs.js b/static/v3/songs.js index bb21c18..b9b6d0a 100644 --- a/static/v3/songs.js +++ b/static/v3/songs.js @@ -166,15 +166,15 @@ const f = saved.filters; if (f && typeof f === 'object') { const arr = (x) => (Array.isArray(x) ? x.slice() : []); - // mastery + match are session-only facets (deliberately not + // mastery + match + genre are session-only facets (deliberately not // persisted), but the restored object must still CARRY the keys — - // the filter drawer indexes f.mastery/f.match unconditionally, so - // dropping them here breaks the drawer for anyone with saved prefs. + // the filter drawer indexes f.mastery/f.match/f.genre unconditionally, + // so dropping them here breaks the drawer for anyone with saved prefs. state.filters = { arr_has: arr(f.arr_has), arr_lacks: arr(f.arr_lacks), stem_has: arr(f.stem_has), stem_lacks: arr(f.stem_lacks), lyrics: f.lyrics || '', tunings: arr(f.tunings), - mastery: [], match: [], + mastery: [], match: [], genre: [], }; } } @@ -2821,7 +2821,7 @@ '