diff --git a/app.vue b/app.vue index 2dfae6a..1051332 100644 --- a/app.vue +++ b/app.vue @@ -19,7 +19,7 @@ useHead({ //title: `Tüit ERP - ${route.meta.title}`, - title: `Tüit ERP`, + title: `tüit app`, link: [{ rel: "icon", type: "image/png", href: "/favicon-gelb-rot-32x32.png" }] }) diff --git a/backend/models/solutionsModel.js b/backend/models/solutionsModel.js index f014466..d92317d 100644 --- a/backend/models/solutionsModel.js +++ b/backend/models/solutionsModel.js @@ -103,8 +103,8 @@ export const getSelectedSolutionsBySolutionName = async (selected, result) => { //get all selected solutions by asset name export const getSelectedSolutionsByAssetName = async (selected, result) => { try { - let sql = `SELECT * FROM solutions WHERE LOWER(assetName) LIKE '%${selected.toLowerCase()}%' ORDER BY assetName ASC`; - const results = await ownConn.execute(sql) + let sql = `SELECT * FROM solutions WHERE assetName = ? ORDER BY solutionName ASC`; + const results = await ownConn.execute(sql, [selected]) result(null, results); } catch (err) { diff --git a/components/AssetSearch.vue b/components/AssetSearch.vue index f7a909d..61ee3b8 100644 --- a/components/AssetSearch.vue +++ b/components/AssetSearch.vue @@ -1,15 +1,40 @@ - - + + + \ No newline at end of file + --> \ No newline at end of file diff --git a/components/server/IssueSlipTableNoCustomer.vue b/components/server/IssueSlipTableNoCustomer.vue index 87a0501..b5f5c37 100644 --- a/components/server/IssueSlipTableNoCustomer.vue +++ b/components/server/IssueSlipTableNoCustomer.vue @@ -1,4 +1,4 @@ -