https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24027

Michal Denar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #95663|0                           |1
        is obsolete|                            |

--- Comment #15 from Michal Denar <[email protected]> ---
Created attachment 98251
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98251&action=edit
Bug 24027: (follow-up) Don't combine multiple items add POST page with list
generation

When hundreds or thousands of items added, it takes time to add to DB.
Then generation of items list in the SAME request also takes time.
This "doubles" page generation time.

This patch proposes to show only the number of added and total items on
POST-generated page instead of list generation, but not always:
only if some limit are reached ("OpacMaxItemsToDisplay" // 50 is used),
and propose navigation link for the user to see the list after.

It's much more sensible on big databases and libraries hosting/clouds
with limited resources even up to page generation timeout.

This stacks up with previous patch for the combined speed up effect.

Other improvements with this patch:

because added counters for both:
- added now items,
- overall items for this biblioid in DB,
it is now shows:
- number of added items after adding in "dialog message" style box,
- number of total displayed items on the beginning of the list table.

Signed-off-by: Michal Denar <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to