collections v1
This commit is contained in:
@@ -361,7 +361,6 @@ export const actions: Actions = {
|
||||
const formData = await event.request.formData();
|
||||
const visited = formData.get('visited');
|
||||
const planned = formData.get('planned');
|
||||
const featured = formData.get('featured');
|
||||
|
||||
const order_direction = formData.get('order_direction') as string;
|
||||
const order_by = formData.get('order_by') as string;
|
||||
@@ -387,12 +386,6 @@ export const actions: Actions = {
|
||||
}
|
||||
filterString += 'planned';
|
||||
}
|
||||
if (featured) {
|
||||
if (filterString) {
|
||||
filterString += ',';
|
||||
}
|
||||
filterString += 'featured';
|
||||
}
|
||||
if (!filterString) {
|
||||
filterString = '';
|
||||
}
|
||||
|
||||
@@ -240,15 +240,6 @@
|
||||
checked
|
||||
/>
|
||||
</label>
|
||||
<label class="label cursor-pointer">
|
||||
<span class="label-text">Featured</span>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="featured"
|
||||
name="featured"
|
||||
class="checkbox checkbox-primary"
|
||||
/>
|
||||
</label>
|
||||
<!-- <div class="divider"></div> -->
|
||||
<h3 class="text-center font-semibold text-lg mb-4">Sort</h3>
|
||||
<p class="text-md font-semibold mb-2">Order Direction</p>
|
||||
|
||||
Reference in New Issue
Block a user