Skip to content

Commit

Permalink
[front: editLog] id < itemID
Browse files Browse the repository at this point in the history
  • Loading branch information
t8g committed Aug 31, 2017
1 parent 1b6e970 commit 2b3620f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/app/isari-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion client/src/app/isari-editor/isari-editor.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<md-card *ngIf="data?.opts.deletable && data.id" style="display: flex;justify-content: space-between;">

<a [routerLink]="['/logs', feature]" [queryParams]="{id: data.id, organization: organization}" md-raised-button color="primary">{{ 'history' | translate }}</a>
<a [routerLink]="['/logs', feature]" [queryParams]="{itemID: data.id, organization: organization}" md-raised-button color="primary">{{ 'history' | translate }}</a>

</md-card>

Expand Down

0 comments on commit 2b3620f

Please sign in to comment.