reslist popup: enable save to file for web cache entries, disable open parent

This commit is contained in:
Jean-Francois Dockes
2015-07-25 10:59:27 +02:00
parent 4d35cbabfb
commit 922f73039a
3 changed files with 19 additions and 13 deletions
+12
View File
@@ -233,6 +233,18 @@ class Doc {
return true;
}
/* Is this document stored as a regular filesystem file ?
* (as opposed to e.g. a webcache file), not a subdoc,
*/
bool isFsFile() {
string backend;
getmeta(keybcknd, &backend);
if (!backend.empty() && backend.compare("FS"))
return false;
return true;
}
void dump(bool dotext=false) const;
// The official names for recoll native fields when used in a text