google drive missing some fields and I am submitting a patch to fix that
Original Reporter info from Mantis: ergo
-
Reporter name: Marton Papp
Original Reporter info from Mantis: ergo
- Reporter name: Marton Papp
Description:
List functionality missing a field.... "fields"
that can be used to retrieve what fields one wants.
Steps to reproduce:
See google drive demo.... and modify it like this...
procedure TMainForm.ShowFolder(AFolderID : String);
var
Entry: TFile;
EN : String;
i:integer;
Q : TFilesListOptions;
List : TFileList;
Resource : TFilesResource;
LI : TListItem;
begin
Resource:=Nil;
Resource:=FDriveAPI.CreateFilesResource(Self);
// Search for files of indicated folder only.
Q.q:='mimeType != ''application/vnd.google-apps.folder'' and '''+AFolderId+''' in parents';
Q.pageSize :=100 ;
Q.fields := 'files/createdTime, files/size, files/version, files/mimeType';
end;
Additional information:
I am submitting a patch to fix the problem
I tried to solution
Mantis conversion info:
- Mantis ID: 37824
- OS: Windows
- OS Build: 10
- Platform: Windows
- Version: 3.2.0