Reduce feed page size to 10, update search placeholder
This commit is contained in:
@@ -24,7 +24,7 @@ public class FeedService {
|
|||||||
@Inject
|
@Inject
|
||||||
DatabaseService db;
|
DatabaseService db;
|
||||||
|
|
||||||
public static final int PAGE_SIZE = 20;
|
public static final int PAGE_SIZE = 10;
|
||||||
|
|
||||||
public List<ReleaseGroup> getAllFeedEntries() {
|
public List<ReleaseGroup> getAllFeedEntries() {
|
||||||
var artists = artistService.findAll();
|
var artists = artistService.findAll();
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
hx-target="#search-results"
|
hx-target="#search-results"
|
||||||
hx-swap="innerHTML"
|
hx-swap="innerHTML"
|
||||||
hx-trigger="keyup changed delay:300ms from:#search-input">
|
hx-trigger="keyup changed delay:300ms from:#search-input">
|
||||||
<input id="search-input" type="text" placeholder="Search artists..."
|
<input id="search-input" type="text" placeholder="Add artist to follow"
|
||||||
class="input input-bordered input-sm w-full" name="q" autocomplete="off">
|
class="input input-bordered input-sm w-full" name="q" autocomplete="off">
|
||||||
</form>
|
</form>
|
||||||
<div id="search-results"></div>
|
<div id="search-results"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user