Skip to content

Commit

Permalink
Merge branch 'hotfix/2.9.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
vmalloc committed Aug 6, 2017
2 parents 6ac1b5a + 18a3c0b commit 0c7a6d9
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions webapp/app/components/query-results/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Ember from "ember";

export default Ember.Component.extend({
results: null,
meta: null,
show_subjects: true,
show_users: true,
session_model: null,
Expand Down
4 changes: 2 additions & 2 deletions webapp/app/components/query-results/template.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{pagination-nav page=(mut page) has_next=results.meta.has_more num_pages=results.meta.num_pages }}
{{pagination-nav page=(mut page) has_next=meta.has_more num_pages=meta.num_pages }}

{{#each results as |result|}}
{{component (concat result.type "-item") item=result show_subjects=show_subjects session_model=session_model show_user=show_users}}
Expand All @@ -8,4 +8,4 @@
</div>
{{/each}}

{{pagination-nav page=(mut page) has_next=results.meta.has_more num_pages=results.meta.num_pages }}
{{pagination-nav page=(mut page) has_next=meta.has_more num_pages=meta.num_pages }}
1 change: 1 addition & 0 deletions webapp/app/session/children/template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{query-results
results=sortedModel
meta=children.meta
page=(mut page)
page_size=(mut page_size)
show_successful=show_successful
Expand Down
5 changes: 4 additions & 1 deletion webapp/app/session/index/template.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{{query-results results=sortedTests page=(mut page)
{{query-results
results=sortedTests
page=(mut page)
show_users=false
page_size=(mut page_size)
show_subjects=false
Expand All @@ -8,4 +10,5 @@
show_skipped=show_skipped
show_planned=show_planned
session_model=session_model
meta=collection.meta
}}
1 change: 1 addition & 0 deletions webapp/app/sessions/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
{{else}}
{{query-results
results=sessions
meta=sessions.meta
page=(mut page)
page_size=(mut page_size)
show_successful=show_successful
Expand Down
1 change: 1 addition & 0 deletions webapp/app/subject/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{{hr-separator title="Sessions"}}

{{query-results results=sessions
meta=sessions.meta
page=(mut page)
page_size=(mut page_size)
show_successful=(mut show_successful)
Expand Down
2 changes: 1 addition & 1 deletion webapp/app/tests/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
</div>
</div>
{{else}}
{{query-results results=tests page=(mut page) show_user=true}}
{{query-results results=tests meta=tests.meta page=(mut page) show_user=true}}
{{/if}}

0 comments on commit 0c7a6d9

Please sign in to comment.