打开 关闭

Paging issue after update any record #5355


User avatar
0
n.uerkmez 创建
  • 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 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    Are you using Angular?

    I guess your table UI is mvc, right?

  • User Avatar
    0
    maliming 创建
    支持团队 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 创建
    支持团队 Fullstack Developer

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

  • User Avatar
    0
    n.uerkmez 创建

    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 创建
    支持团队 Fullstack Developer

    Thanks. We will discuss this internally.

  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

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

  • User Avatar
    0
    n.uerkmez 创建

    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 创建
    支持团队 Fullstack Developer

    hi

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

  • User Avatar
    0
    n.uerkmez 创建

    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 创建
    支持团队 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 三月 25, 2024, 15:11