Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Francois Dockes
upmpdcli
Commits
11e0f6c3
Commit
11e0f6c3
authored
Feb 02, 2017
by
Jean-Francois Dockes
Browse files
search: send the raw user search entry in addition to the cooked query
parent
b056978d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mediaserver/cdplugins/plgwithslave.cxx
View file @
11e0f6c3
...
...
@@ -127,8 +127,8 @@ static int answer_to_connection(void *cls, struct MHD_Connection *connection,
// We may need one day to subclass PlgWithSlave to implement a
// plugin-specific method. For now, existing plugins have
// compatible python code, and we can keep one c++ method.
// get_media_url() would also need changing because it
accesses Internal:
// either make it generic or move to subclass.
// get_media_url() would also need changing because it
is in
//
Internal:
either make it generic or move to subclass.
//return realplg->answer_to_connection(connection, url, method, version,
// upload_data, upload_data_size, con_cls);
...
...
@@ -604,6 +604,7 @@ int PlgWithSlave::search(const string& ctid, int stidx, int cnt,
if
(
!
m
->
cmd
.
callproc
(
"search"
,
{
{
"objid"
,
ctid
},
{
"objkind"
,
objkind
},
{
"origsearch"
,
searchstr
},
{
"field"
,
slavefield
},
{
"value"
,
value
}
},
res
))
{
LOGERR
(
"PlgWithSlave::search: slave failure
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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