Open Closed

Paging issue after update any record #5355


User avatar
0
n.uerkmez created
  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"This is a bug report. Please refund my support ticket. Theme: LeptonX
  1. Go to the Language Management screen
  2. Go to page 2
  3. Update any language
  4. After the updating, the 1st page will be the current page.

This happens unfortunately with all list screens (users, roles etc.). And also, in the pages generated by the ABP suite. The current page loses its state. This is a bad experience for users.

Thanks in advance


10 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Are you using Angular?

    I guess your table UI is mvc, right?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    We call dataTable.ajax.reload(); to reload the data after the modal is closed.

    https://datatables.net/reference/api/ajax.reload()

    Reset (default action or true) or hold the current paging position (false). A full re-sort and re-filter is performed when this method is called, which is why the pagination reset is the default action.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    https://github.com/abpframework/abp/issues/17029

  • User Avatar
    0
    n.uerkmez created

    hi

    Are you using Angular?

    I guess your table UI is mvc, right?

    No it is Angular. You can try it on any page such as users, roles, and languages that are from ABP Commercial.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks. We will discuss this internally.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can follow the https://github.com/abpframework/abp/issues/17029

  • User Avatar
    0
    n.uerkmez created

    Thanks. We will discuss this internally.

    Apart from that, It is still an issue with angular list pages that are generated by the ABP suite. Is there any way to set ** this.list.skipCount ** private property in any component. Since setting the this.list.page triggers unnecessary another HTTP request just after the first one.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can create a new question for ABP suite issue. Thanks

  • User Avatar
    0
    n.uerkmez created

    hi

    You can create a new question for ABP suite issue. Thanks

    Could you describe how I can create an issue? I did not see any section/type for this purpose on the support page but only ask questions.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I mean create a new question. : )

    https://support.abp.io/QA/Questions/New

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11