From 2b3620fda28a79b78e72f4b2db06e4c86349c966 Mon Sep 17 00:00:00 2001 From: t8g Date: Thu, 31 Aug 2017 13:15:48 +0200 Subject: [PATCH] [front: editLog] id < itemID --- client/src/app/isari-data.service.ts | 2 +- client/src/app/isari-editor/isari-editor.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/isari-data.service.ts b/client/src/app/isari-data.service.ts index 72de02d2..168e7e9c 100644 --- a/client/src/app/isari-data.service.ts +++ b/client/src/app/isari-data.service.ts @@ -111,7 +111,7 @@ export class IsariDataService { } return Observable.combineLatest([ - this.http.get(`${this.editLogUrl}/${feature}` + (query.id ? `/${query.id}` : ''), this.getHttpOptions(omit(query, 'id'))) + this.http.get(`${this.editLogUrl}/${feature}`, this.getHttpOptions(query)) .map((response) => response.json()), Observable.fromPromise(this.getSchema(feature)), this.getEnum('isariRoles') diff --git a/client/src/app/isari-editor/isari-editor.component.html b/client/src/app/isari-editor/isari-editor.component.html index f70336a7..59df1262 100644 --- a/client/src/app/isari-editor/isari-editor.component.html +++ b/client/src/app/isari-editor/isari-editor.component.html @@ -43,7 +43,7 @@ - {{ 'history' | translate }} + {{ 'history' | translate }}