mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 08:20:01 +01:00
203ec76973
* Closes #5567: Contextual album/artist search in library search, global search, and playlists. * Change artist/album search to 'search for this' in globalsearch * Change artist/album search to 'search for this' in library * Applying patch from @Fat-Zer to allow search incl year * Re-adding missing schema definition
15 lines
591 B
SQL
15 lines
591 B
SQL
DELETE FROM %allsongstables_fts;
|
|
|
|
DROP TABLE %allsongstables_fts;
|
|
|
|
CREATE VIRTUAL TABLE %allsongstables_fts USING fts3( ftstitle, ftsalbum, ftsartist, ftsalbumartist,
|
|
ftscomposer, ftsperformer, ftsgrouping, ftsgenre, ftscomment, ftsyear,
|
|
tokenize=unicode
|
|
);
|
|
|
|
INSERT INTO %allsongstables_fts ( ROWID, ftstitle, ftsalbum, ftsartist, ftsalbumartist,
|
|
ftscomposer, ftsperformer, ftsgrouping, ftsgenre, ftscomment, ftsyear)
|
|
SELECT ROWID, title, album, artist, albumartist, composer, performer, grouping, genre, comment, year
|
|
FROM %allsongstables;
|
|
|
|
UPDATE schema_version SET version=51; |