Compare commits

..

No commits in common. "250b3841fea29c258236cc067e9f0d67a10d6759" and "e9e3b719a40cb16818383e2ea9f75dff4c8f185c" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -26,7 +26,6 @@ export class Item implements IItem {
public data?:any;
public isEditable?:boolean;
public owner?: string;
public fullPath?: string;
constructor() {
}

View File

@ -79,8 +79,7 @@ export class ItemService {
getItemList(itemType?: string, dataFilter?: any, level?: number, atItemLocationItemCode?: string,
indexed?: boolean, validToday?: boolean,tags?:string,crs?:string, startDate?: Date, endDate?: Date,
skip?: number, take?: number, sourceTask?: string, exactMatchStartOrEndDate?: boolean, owner?:string,
includeFullpath?: boolean): Observable<IItem[]> {
skip?: number, take?: number, sourceTask?: string, exactMatchStartOrEndDate?: boolean, owner?:string): Observable<IItem[]> {
let params = new HttpParams();
if(itemType) params = params.append("it", itemType);
if(dataFilter) params = params.append("df", JSON.stringify(dataFilter));
@ -97,7 +96,6 @@ export class ItemService {
if(take) params = params.append("take", take);
if(exactMatchStartOrEndDate !== undefined) params = params.append("exactMatchStartOrEndDate", exactMatchStartOrEndDate);
if(owner) params = params.append("owner", owner);
if(includeFullpath) params = params.append("includeFullpath",includeFullpath?"true":"false");
return this.httpClient.get<IItem[]>(`${this.ApiEndpoint()}/api/v1/items/`, { params: params });
}