Commit b7aa32c8 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Insert into the right graph when moving items

The query to update parent-dependent data was using the source file
urn as a graph urn.
parent 0ca2b314
......@@ -1944,7 +1944,7 @@ item_move (TrackerMinerFS *fs,
" nie:isStoredAs <%s> ; "
" nfo:belongsToContainer \"%s\""
"}" ,
source_iri, source_iri,
TRACKER_OWN_GRAPH_URN, source_iri,
display_name, uri,
source_iri,
new_parent_iri);
......@@ -1957,7 +1957,7 @@ item_move (TrackerMinerFS *fs,
" nie:url \"%s\" ; "
" nie:isStoredAs <%s>"
"} ",
source_iri, source_iri,
TRACKER_OWN_GRAPH_URN, source_iri,
display_name, uri,
source_iri);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment