diff --git a/campaigns.go b/campaigns.go
index 7c33e89..64c9cf4 100644
--- a/campaigns.go
+++ b/campaigns.go
@@ -84,7 +84,8 @@ func handleGetCampaigns(c echo.Context) error {
single = true
}
if query != "" {
- query = string(regexFullTextQuery.ReplaceAll([]byte(query), []byte("&")))
+ query = `%` +
+ string(regexFullTextQuery.ReplaceAll([]byte(query), []byte("&"))) + `%`
}
err := app.queries.QueryCampaigns.Select(&out.Results, id, pq.StringArray(status), query, pg.Offset, pg.Limit)
diff --git a/frontend/fontello/config.json b/frontend/fontello/config.json
index d8d691a..5e8f936 100644
--- a/frontend/fontello/config.json
+++ b/frontend/fontello/config.json
@@ -496,6 +496,20 @@
"cancel"
]
},
+ {
+ "uid": "110ec51ea49a7f0cc9bfbde321f3c28d",
+ "css": "magnify",
+ "code": 59427,
+ "src": "custom_icons",
+ "selected": true,
+ "svg": {
+ "path": "M396.5 125Q468.8 125 531.3 161.1T629.9 259.8 666 396.5Q666 496.1 601.6 572.3L613.3 584H646.5L853.5 791 791 853.5 584 646.5V613.3L572.3 601.6Q496.1 666 396.5 666 322.3 666 259.8 629.9T161.1 531.3 125 395.5 161.1 259.8 259.8 161.1 396.5 125ZM396.5 209Q318.4 209 263.7 263.7T209 396.5 263.7 529.3 396.5 584 529.3 529.3 584 396.5 529.3 263.7 396.5 209Z",
+ "width": 1000
+ },
+ "search": [
+ "magnify"
+ ]
+ },
{
"uid": "f4ad3f6d071a0bfb3a8452b514ed0892",
"css": "vector-square",
@@ -12200,20 +12214,6 @@
"magnet-on"
]
},
- {
- "uid": "110ec51ea49a7f0cc9bfbde321f3c28d",
- "css": "magnify",
- "code": 59416,
- "src": "custom_icons",
- "selected": false,
- "svg": {
- "path": "M396.5 125Q468.8 125 531.3 161.1T629.9 259.8 666 396.5Q666 496.1 601.6 572.3L613.3 584H646.5L853.5 791 791 853.5 584 646.5V613.3L572.3 601.6Q496.1 666 396.5 666 322.3 666 259.8 629.9T161.1 531.3 125 395.5 161.1 259.8 259.8 161.1 396.5 125ZM396.5 209Q318.4 209 263.7 263.7T209 396.5 263.7 529.3 396.5 584 529.3 529.3 584 396.5 529.3 263.7 396.5 209Z",
- "width": 1000
- },
- "search": [
- "magnify"
- ]
- },
{
"uid": "cd529f71c055cf2da4843aafc1d70c8d",
"css": "magnify-minus",
diff --git a/frontend/src/assets/icons/fontello.css b/frontend/src/assets/icons/fontello.css
index 10bf8e7..3d6cf7e 100644
--- a/frontend/src/assets/icons/fontello.css
+++ b/frontend/src/assets/icons/fontello.css
@@ -75,3 +75,4 @@
.mdi-arrow-up:before { content: '\e820'; } /* '' */
.mdi-arrow-down:before { content: '\e821'; } /* '' */
.mdi-cancel:before { content: '\e822'; } /* '' */
+.mdi-magnify:before { content: '\e823'; } /* '' */
diff --git a/frontend/src/assets/icons/fontello.woff2 b/frontend/src/assets/icons/fontello.woff2
index e6a4f86..fb07f15 100644
Binary files a/frontend/src/assets/icons/fontello.woff2 and b/frontend/src/assets/icons/fontello.woff2 differ
diff --git a/frontend/src/views/Campaigns.vue b/frontend/src/views/Campaigns.vue
index c568a45..8b99a7b 100644
--- a/frontend/src/views/Campaigns.vue
+++ b/frontend/src/views/Campaigns.vue
@@ -3,7 +3,7 @@
Campaigns
- ({{ campaigns.total }})
+ ({{ campaigns.total }})