DataTables / DataTables/SearchBuilder
fastData is not a function
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
When attempting to upgrade SearchBuilder from 1.3.0 to 1.7.0 I'm getting the following error after selecting a data column of type 'string' with the condition 'Equals'. The 'Values' dropdown is empty due to the following JS error.
TypeError: fastData is not a function. (In 'fastData(index, column, typeof that.c.orthogonal === 'string' ? that.c.orthogonal : that.c.orthogonal.search)', 'fastData' is undefined)
When I console.log line 1024
var fastData = that.s.dt.settings()[0].fastData;
console.log(typeof fastData, fastData);
I get undefined, undefined. Upon inspection, fastData does not appear in the settings object
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the upgrade from SearchBuilder 1.3.0 to 1.7.0, then select a string data column with the Equals condition. Start at the reported line around 1024 and inspect the DataTables settings object for fastData; done means the Values dropdown is populated without the fastData TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100