Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
ce145c14
Commit
ce145c14
authored
Jun 29, 2018
by
Hugo Beauzée-Luyssen
Browse files
Artist: Only fetch the required fields
parent
48017dd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Artist.cpp
View file @
ce145c14
...
...
@@ -450,7 +450,7 @@ Query<IArtist> Artist::searchByGenre( MediaLibraryPtr ml, const std::string& pat
"ORDER BY a.name"
;
if
(
params
!=
nullptr
&&
params
->
desc
==
true
)
req
+=
" DESC"
;
return
make_query
<
Artist
,
IArtist
>
(
ml
,
"*"
,
std
::
move
(
req
),
pattern
,
genreId
);
return
make_query
<
Artist
,
IArtist
>
(
ml
,
"
a.
*"
,
std
::
move
(
req
),
pattern
,
genreId
);
}
std
::
string
Artist
::
sortRequest
(
const
QueryParameters
*
params
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment