aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.html
diff options
context:
space:
mode:
authorAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-25 09:45:38 -0400
committerAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-25 09:45:38 -0400
commit07d191cb1fc8890f66e9af7d19e8276089d18d8b (patch)
treeb07a7581b6f53d1560091b8b42e66eac822e85cf /ufund-ui/src/app/components/need-list/need-list.component.html
parent304b867c6fa5c1192e8cdec7fd22affb50e244b3 (diff)
downloadJellySolutions-07d191cb1fc8890f66e9af7d19e8276089d18d8b.tar.gz
JellySolutions-07d191cb1fc8890f66e9af7d19e8276089d18d8b.tar.bz2
JellySolutions-07d191cb1fc8890f66e9af7d19e8276089d18d8b.zip
added more sort options; fix HTML error
Diffstat (limited to '')
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.html b/ufund-ui/src/app/components/need-list/need-list.component.html
index c5faf74..283cc99 100644
--- a/ufund-ui/src/app/components/need-list/need-list.component.html
+++ b/ufund-ui/src/app/components/need-list/need-list.component.html
@@ -3,7 +3,9 @@
<h3>Sort by:</h3>
<table style="margin-left: 10px; display: flex; column-gap: 24px;">
<tr><h3><button (click)="changeSortAlgo('sortByName',searchForm.value)">Name(A-Z)</button></h3></tr>
+ <tr><h3><button (click)="changeSortAlgo('sortByNameReverse',searchForm.value)">Name(Z-A)</button></h3></tr>
<tr><h3><button (click)="changeSortAlgo('sortByMaxGoal',searchForm.value)">Max Goal(Descending)</button></h3></tr>
+ <tr><h3><button (click)="changeSortAlgo('sortByMinGoal',searchForm.value)">Max Goal(Ascending)</button></h3></tr>
</table>
</div>
<input id="search-button" type="button" value="Search" (click)="open()">