alfajango / jquery-dynatable

A more-fun, semantic, alternative to datatables
http://www.dynatable.com
Other
2.78k stars 363 forks source link

params.records not being used for filter text #302

Open haydster7 opened 6 years ago

haydster7 commented 6 years ago

An explanation can be found on the dynatable wiki under record count.

Expected behaviour {dataset.recordCountText} {x} of {y} {params.records} (filtered from {z} total {params.records})

Actual behaviour {dataset.recordCountText} {x} of {y} {params.records} (filtered from {z} total records)

params.records is only being used for the first word substitution, and not the second.

An example of this can be seen on the seen on the dynatable wiki under A Stylized List If you search "rus" on the dinosaur demo, you will see the following text

Showing 3 of 3 dinosaurs (filtered from 6 total records) This text should be Showing 3 of 3 dinosaurs (filtered from 6 total dinosaurs)