Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app-author-search/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class AppComponent implements OnInit {
this.searchJson = res;
this.setDisplayData();
//総数を設定する
this.total = this.searchJson.hits.total;
this.total = this.searchJson.hits.total.value;
if (this.total == 0) {
this.searchZero = true;
this.numberFrom = 0;
Expand Down
2 changes: 1 addition & 1 deletion app-items-author-search/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class AppComponent implements OnInit {
this.searchJson = res;
this.setDisplayData();
//総数を設定する
this.total = this.searchJson.hits.total;
this.total = this.searchJson.hits.total.value;
if(this.total == 0){
this.searchZero = true;
this.numberFrom = 0;
Expand Down