Solved a problem where it was only getting the first 25 students
This commit is contained in:
@@ -17,7 +17,6 @@ export const search = (text: string, fields: string[][], rows: any[]) => {
|
||||
return fields.some((fieldsKeys) => {
|
||||
const value = getFieldValue(fieldsKeys, row);
|
||||
if (typeof value === "string") {
|
||||
console.log(value, searchText, value.toLowerCase().includes(searchText));
|
||||
return value.toLowerCase().includes(searchText);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user