Problem on pagination link

Problem on pagination link

shamseer_cybaseshamseer_cybase Posts: 1Questions: 1Answers: 0

Hi
I am facing a problem on bootstrap serverside with php. I had total three pages to list and these pages list correctly. But after third click on link, it call draw value as 4 on clicking any pagination link.

my script is added below

$('#service_requst_list_table').DataTable( {
            "processing": true,
            "serverSide": true,
            "ajax": {
                "url": "<?=url("/collect_service_req");?>",
                "data": function ( d ) {
                    d.selected_filter = $("input[name='ticket_filter']:checked").val();
                    d.current_project = $("#project_list").val();                    
                }
            },
                "columns": [
                    { "data": "title" },
                    { "data": "priority" },
                    { "data": "status" },
                    { "data": "reported_by" },
                    { "data": "added_by" },
                    { "data": "created_at" }
                ]
        } );

Answers

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    Hi @shamseer_cybase ,

    As shown in this example here, it doesn't happen normally. We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.