diff --git a/db/items.csv b/db/items.csv index 3b1c600..df8b314 100644 --- a/db/items.csv +++ b/db/items.csv @@ -1,4 +1,4 @@ -name,description,image,links,topics,creators,year,difficulty,cost +name,description,image,links,topics,creators,year,difficulty,cost,rating,tags sapiens book image,,https://learn-awesome.github.io/assets/book_covers/23692271.jpg,book|https://learnawesome.org/items/6c2ef4c8-a018-430a-9173-3868310a03ea-sapiens-a-brief-history-of-humankind;video|https://www.youtube.com/watch?v=p5PvHlk3yig,history sapiens no image,,,book|https://learnawesome.org/items/6c2ef4c8-a018-430a-9173-3868310a03ea-sapiens-a-brief-history-of-humankind,history sapiens video image,,https://img.youtube.com/vi/p5PvHlk3yig/0.jpg,video|https://www.youtube.com/watch?v=p5PvHlk3yig,history;physics \ No newline at end of file diff --git a/src/AdvancedSearch.svelte b/src/AdvancedSearch.svelte index 930d3c2..a8528c2 100644 --- a/src/AdvancedSearch.svelte +++ b/src/AdvancedSearch.svelte @@ -1,11 +1,18 @@ @@ -42,14 +49,14 @@

Quickly look for resources by running a global search.

- {:else if results.length > 0} + {:else if result_items.length + result_topics.length > 0}