(content: any)
| 270 | } |
| 271 | |
| 272 | private parsePage(content: any) { |
| 273 | const value = parseInt(content); |
| 274 | |
| 275 | if (isNaN(value)) { |
| 276 | return 1; |
| 277 | } |
| 278 | |
| 279 | if (value <= 0) { |
| 280 | return 1; |
| 281 | } |
| 282 | |
| 283 | return value; |
| 284 | } |
| 285 | |
| 286 | private parsePerPage(content: any) { |
| 287 | const value = parseInt( |