mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
* Search function does looks at all uppercase
* Add toUpperCase call only in filterParameters function
(cherry picked from commit 7a0ac71b98)
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
This commit is contained in:
@@ -380,7 +380,7 @@ export class PostgresParametersPage extends DashboardPage {
|
|||||||
private filterParameters(search: string): void {
|
private filterParameters(search: string): void {
|
||||||
const filteredRowIndexes: number[] = [];
|
const filteredRowIndexes: number[] = [];
|
||||||
this.parametersTable.data?.forEach((row, index) => {
|
this.parametersTable.data?.forEach((row, index) => {
|
||||||
if (row[0]?.search(search) !== -1 || row[2]?.search(search) !== -1) {
|
if (row[0].toUpperCase()?.search(search.toUpperCase()) !== -1 || row[2].toUpperCase()?.search(search.toUpperCase()) !== -1) {
|
||||||
filteredRowIndexes.push(index);
|
filteredRowIndexes.push(index);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user