DataTables / DataTables/Plugins

paging input - css selectors "paginate_page" and "paginate_of" missing in new version

Open
#471 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

The newest version of input paging plugin lacks of two css selectors AND inserts one empty <span> element:

  • paginate_page
  • paginate_of

Before (in older version):

<span class="paginate_page">Page </span>
<input class="paginate_input" type="text">
<span class="paginate_of"> of 3</span>

Now (in latest version):

<span>Page </span>
<input class="paginate_input" type="text">
<span> of </span>
<span class="paginate_total">3</span>
<span></span>

I tried to fix it, but there is some "hacking" with regex within plugin, which I don't understand.

Cheers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the input paging plugin and the regex-based markup generation mentioned in the issue. Compare its generated markup with the older and latest examples, then verify that the paginate_page and paginate_of selectors are restored and the extra empty span is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.