(content: any)
| 312 | } |
| 313 | |
| 314 | private parseFields(content: any): string[] { |
| 315 | if (!content) { |
| 316 | return []; |
| 317 | } |
| 318 | |
| 319 | const strContent = content as string; |
| 320 | |
| 321 | // User should be able to select "all" fields. |
| 322 | if (strContent.trim() === "*") { |
| 323 | return ["*"]; |
| 324 | } |
| 325 | |
| 326 | const fields = strContent.split(","); |
| 327 | fields.forEach((field) => { |
| 328 | this.shouldBeAcceptableColumn(field); |
| 329 | }); |
| 330 | return fields; |
| 331 | } |
| 332 | |
| 333 | private parseSortingOptions(content: any): ISortField[] { |
| 334 | // If there is not any sorting options, we don't have to return any value |
no test coverage detected