select statement always need to contain file_source respectively item_source
Merge pull request #7967 from owncloud/sharing_fix_select_statement

select statement always need to contain file_source respectively item_source