Skip to content

Commit d21b491

Browse files
committed
fix: Forgot to update template for adding new filters.
At some point I might need to make this more dynamic, so that I can have an easier way to select proper values for the different filters, instead of a text box..
1 parent 0416c9c commit d21b491

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CFLookup/Pages/ProjectSearch.cshtml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,11 @@ else
158158
<div class="col-md-4">
159159
<select class="form-select" name="Criteria.Filters[__index__].Field">
160160
<option value="">-- Field --</option>
161+
<option value="Name">Name</option>
162+
<option value="Slug">Slug</option>
163+
<option value="Summary">Summary</option>
161164
<option value="GameId">Game id</option>
165+
<option value="GameName">Game name</option>
162166
<option value="Status">Status (enum value)</option>
163167
<option value="DownloadCount">Download count</option>
164168
<option value="ThumbsUpCount">Thumbs up</option>
@@ -173,8 +177,6 @@ else
173177
<option value="DateModified">Date modified</option>
174178
<option value="DateReleased">Date released</option>
175179
<option value="LatestUpdate">Latest update</option>
176-
<option value="Name">Name</option>
177-
<option value="Slug">Slug</option>
178180
</select>
179181
</div>
180182
<div class="col-md-3">

0 commit comments

Comments
 (0)