Skip to content

Commit 6892575

Browse files
committed
Do not make custom columns uppercase
1 parent ed74e73 commit 6892575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/searchView.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ export class SearchView {
141141
}
142142
// Custom field
143143
if (column.startsWith('$')) {
144-
columnExtra = column.slice(1).toUpperCase()
144+
columnExtra = column.slice(1)
145145
column = ESearchColumnsTypes.CUSTOM_FIELD
146-
if (SettingsData.cache.columns.indexOf(columnExtra) === -1) {
146+
if (SettingsData.cache.columns.indexOf(columnExtra.toUpperCase()) === -1) {
147147
throw new Error(`Custom field ${columnExtra} not found`)
148148
}
149149
}

0 commit comments

Comments
 (0)