maintenance: string search methods

This commit is contained in:
tmj-fstate
2021-05-27 14:23:00 +02:00
parent b3940d47cb
commit 7b816594ba
23 changed files with 120 additions and 106 deletions

View File

@@ -394,7 +394,7 @@ nodebank_panel::render() {
continue;
}
if( ( false == searchfilter.empty() )
&& ( entry.first.find( searchfilter ) == std::string::npos ) ) {
&& ( false == contains( entry.first, searchfilter ) ) ) {
continue;
}
auto const label { " " + entry.first + "##" + std::to_string( idx ) };