Commit 7488a641 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Further extend the non-empty ItemFetchScope case

As explained in 2c47b728, IFS must not be considered empty if it
has any custom settings. This change extends the previous commit
to check all properties for non-default values.
parent 29697b4d
......@@ -101,8 +101,15 @@ bool ItemFetchScope::isEmpty() const
&& d->mAttributes.isEmpty()
&& !d->mFullPayload
&& !d->mAllAttributes
&& !d->mCacheOnly
&& !d->mCheckCachedPayloadPartsOnly
&& d->mFetchMtime // true by deafult -> false = non-empty
&& !d->mIgnoreRetrievalErrors
&& d->mFetchRid // true by default
&& !d->mFetchGid
&& !d->mFetchTags
&& !d->mFetchVRefs
&& !d->mFetchRelations
&& d->mAncestorDepth == AncestorRetrieval::None;
}
......
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