From 5b968b6e46ffc6cc690ddd0cb15a689e0eead039 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 27 Jan 2025 12:25:51 +0100 Subject: [PATCH] refs #8480 Hide inactive items --- debian/changelog | 2 +- forms/admin/items/ui.xml | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2e14f730..990d8c99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (25.4.3) stable; urgency=low +hedera-web (25.4.4) stable; urgency=low * Initial Release. diff --git a/forms/admin/items/ui.xml b/forms/admin/items/ui.xml index 9dd869ba..b89b4ab1 100644 --- a/forms/admin/items/ui.xml +++ b/forms/admin/items/ui.xml @@ -18,8 +18,8 @@ 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.isActive + AND (i.longName LIKE CONCAT('%', #search, '%') OR i.id = #search) ORDER BY i.longName LIMIT 50 diff --git a/package.json b/package.json index 94f74b9c..ae77234a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "25.4.3", + "version": "25.4.4", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {