kopia lustrzana https://github.com/learn-awesome/learndb
advanced search iid fixed, bookcard item creators condition added
rodzic
f524353629
commit
e87c7384ed
|
@ -43,7 +43,7 @@
|
|||
{#if result_items.length > 0}
|
||||
<sl-menu-label class="bg-gray-200">Items</sl-menu-label>
|
||||
{#each result_items as item}
|
||||
<sl-menu-item value="#/item/{item.rowid}">{item.name}
|
||||
<sl-menu-item value="#/item/{item.iid}">{item.name}
|
||||
{#each item.links.split(";") as type}
|
||||
{#if type.split("|")[0] === 'book'}
|
||||
<sl-icon name="book" slot="suffix"></sl-icon>
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
{#if !item.image}
|
||||
<div class="absolute inset-y-0 pl-3 pr-2 py-4 break-inside-avoid">
|
||||
<p class="font-bold text-xs md:font-extrabold text-primary_light md:text-base">{item.name}</p>
|
||||
{#if item.creators}
|
||||
<p class="text-xs text-primary_light mt-3">{item.creators}</p>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue