diff --git a/front/core/components/field/style.scss b/front/core/components/field/style.scss
index ceaeda40a..9012b8c4c 100644
--- a/front/core/components/field/style.scss
+++ b/front/core/components/field/style.scss
@@ -71,7 +71,7 @@
color: $color-font;
&::placeholder {
- color: $color-font-bg;
+ color: $color-font-bg-marginal;
}
&[type=time],
&[type=date],
diff --git a/modules/entry/front/latest-buys-search-panel/index.html b/modules/entry/front/latest-buys-search-panel/index.html
index 4693141f8..c4f9a4a72 100644
--- a/modules/entry/front/latest-buys-search-panel/index.html
+++ b/modules/entry/front/latest-buys-search-panel/index.html
@@ -81,18 +81,21 @@
on-change="itemTag.value = null">
-
+ show-field="value"
+ value-field="value"
+ rule>
{
const where = filter.where;
if (where && where.value) {
stmt.merge(conn.makeWhere({value: {like: `%${where.value}%`}}));
- stmt.merge(`
- ORDER BY value LIKE '${where.value}' DESC,
- value LIKE '${where.value}%' DESC`);
+
+ const newStmt = new ParameterizedSQL(
+ `ORDER BY value LIKE ? DESC,
+ value LIKE ? DESC`, [
+ where.value,
+ `${where.value}%`
+ ]);
+ ParameterizedSQL.append(newStmt, stmt);
}
stmt.merge(conn.makeLimit(filter));
diff --git a/modules/item/front/search-panel/index.html b/modules/item/front/search-panel/index.html
index 57f05bb54..42e68c71c 100644
--- a/modules/item/front/search-panel/index.html
+++ b/modules/item/front/search-panel/index.html
@@ -72,19 +72,21 @@
-
+ show-field="value"
+ value-field="value"
+ rule>