Skip to content
Snippets Groups Projects
Commit 78d3978f authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: my order should display my order

parent 485ed43f
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ export class OrderMyOrderListRoutable extends SharedAbstractListRoutable<Order,
private updateQueryParameterWithCurrentUser(queryParameters: QueryParameters): QueryParameters | undefined {
queryParameters = ObjectUtil.clone(queryParameters);
queryParameters.search = ObjectUtil.clone(queryParameters.search);
const userTargetedUid = this._store.selectSnapshot(AppState.currentUser).targetedUid;
const userTargetedUid = this._store.selectSnapshot(AppState.currentUser).externalUid;
MappingObjectUtil.set(queryParameters.search.searchItems, this.KEY_CREATOR, userTargetedUid);
return queryParameters;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment