From e618090c7c67e7b98177b3b4881173b0661b369e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 16 Jan 2025 12:58:04 +0100 Subject: [PATCH 1/4] feat: show only isActive --- src/pages/Admin/ItemsView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Admin/ItemsView.vue b/src/pages/Admin/ItemsView.vue index 8fedd306..4580b3d4 100644 --- a/src/pages/Admin/ItemsView.vue +++ b/src/pages/Admin/ItemsView.vue @@ -22,8 +22,8 @@ const query = `SELECT i.id, i.longName, i.size, i.category, LEFT JOIN image im ON im.collectionFk = 'catalog' AND im.name = i.image - WHERE i.longName LIKE CONCAT('%', #search, '%') - OR i.id = #search + WHERE (i.longName LIKE CONCAT('%', #search, '%') + OR i.id = #search ) AND i.isActive = 1 ORDER BY i.longName LIMIT 50`; const onSearch = data => (items.value = data || []); From 2392f8c8d72cf2a08a7dffd06c50b9fd79004b45 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 16 Jan 2025 12:58:48 +0100 Subject: [PATCH 2/4] feat: sql style --- src/pages/Admin/ItemsView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Admin/ItemsView.vue b/src/pages/Admin/ItemsView.vue index 4580b3d4..e43ebc0b 100644 --- a/src/pages/Admin/ItemsView.vue +++ b/src/pages/Admin/ItemsView.vue @@ -23,7 +23,7 @@ const query = `SELECT i.id, i.longName, i.size, i.category, ON im.collectionFk = 'catalog' AND im.name = i.image WHERE (i.longName LIKE CONCAT('%', #search, '%') - OR i.id = #search ) AND i.isActive = 1 + OR i.id = #search) AND i.isActive = 1 ORDER BY i.longName LIMIT 50`; const onSearch = data => (items.value = data || []); From 3eb191d2d1627deff9edec65a4bee52284ec7125 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 16 Jan 2025 13:29:00 +0100 Subject: [PATCH 3/4] feat: zoom image home --- src/pages/Cms/HomeView.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/pages/Cms/HomeView.vue b/src/pages/Cms/HomeView.vue index 8bc5e166..a9931ca9 100644 --- a/src/pages/Cms/HomeView.vue +++ b/src/pages/Cms/HomeView.vue @@ -1,6 +1,5 @@ @@ -22,7 +30,14 @@ onMounted(async () => await fetchData());
- +
@@ -46,7 +61,7 @@ onMounted(async () => await fetchData()); >
- + From b94368f7c90dae40c75c762e3a83c609996034d1 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 16 Jan 2025 12:33:28 +0000 Subject: [PATCH 4/4] feat: update patch version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 602e7449..284101ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "24.50.16", + "version": "24.50.17", "description": "Verdnatura web page", "license": "GPL-3.0", "productName": "Verdnatura",