Increase amount of albums shown on /np
This commit is contained in:
parent
b3f479467c
commit
e0049b9e3e
|
@ -5,7 +5,7 @@
|
|||
@{
|
||||
ViewData["title"] = "now playing";
|
||||
var db = new Database.DbConn();
|
||||
var albums = db.AlbumHistory.OrderByDescending(p => p.DateTime).Take(10);
|
||||
var albums = db.AlbumHistory.OrderByDescending(p => p.DateTime).Take(50);
|
||||
}
|
||||
|
||||
<p>Here you can see what kind of music I've been listening to lately. This table is updated every couple minutes from multiple data sources.</p>
|
||||
|
@ -15,7 +15,7 @@
|
|||
<th>Artist</th>
|
||||
<th>Album</th>
|
||||
<th style="width:12ch">Link</th>
|
||||
@foreach (var album in albums.Take(50)) {
|
||||
@foreach (var album in albums) {
|
||||
<tr>
|
||||
<td>@album.DateTime.ToString("yyyy-MM-dd")</td>
|
||||
<td>@album.Artist</td>
|
||||
|
|
Loading…
Reference in a new issue