Ignore case on sort

Signed-off-by: Laura Hausmann <laura@hausmann.dev>
This commit is contained in:
Laura Hausmann 2022-09-03 20:13:50 +02:00
parent 2ebfd26334
commit b366396039
Signed by: zotan
GPG key ID: D044E84C5BE01605
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach (var movie in new Database.DbConn().Movies.Where(p => p.UserId == Model.AuthorizedUser.UserId).OrderBy(p => p.Title)) { @foreach (var movie in new Database.DbConn().Movies.Where(p => p.UserId == Model.AuthorizedUser.UserId).OrderBy(p => p.Title.ToLower())) {
<tr> <tr>
<td> <td>
<b>@movie.Title</b> <b>@movie.Title</b>

View file

@ -27,7 +27,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach (var show in new Database.DbConn().Shows.Where(p => p.UserId == Model.AuthorizedUser.UserId).OrderBy(p => p.Title)) { @foreach (var show in new Database.DbConn().Shows.Where(p => p.UserId == Model.AuthorizedUser.UserId).OrderBy(p => p.Title.ToLower())) {
<tr> <tr>
<td> <td>
<b>@show.Title</b> <b>@show.Title</b>