mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-02 10:21:23 +01:00
Fix nginx/certificates search query
This commit is contained in:
1 parent
29c0fcbad6
commit
366fcf0bed
1 file changed
+1
-1
@@ -477,7 +477,7 @@ const internalCertificate = {
|
||||
// Query is used for searching
|
||||
if (typeof search_query === 'string') {
|
||||
query.where(function () {
|
||||
this.where('name', 'like', '%' + search_query + '%');
|
||||
this.where('nice_name', 'like', '%' + search_query + '%');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user