Use sorted contributor list for dropdown
This commit is contained in:
@@ -8,7 +8,9 @@ export default Controller.extend({
|
|||||||
|
|
||||||
contributors: alias('kredits.contributors'),
|
contributors: alias('kredits.contributors'),
|
||||||
minedContributors: filterBy('contributors', 'id'),
|
minedContributors: filterBy('contributors', 'id'),
|
||||||
sortedContributors: sort('minedContributors', Object.freeze(['name:asc'])),
|
|
||||||
|
contributorsSorting: Object.freeze(['name:asc']),
|
||||||
|
sortedContributors: sort('minedContributors', 'contributorsSorting'),
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{add-contribution contributors=minedContributors save=(action "save")}}
|
{{add-contribution contributors=sortedContributors save=(action "save")}}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user