]> git.koha-community.org Git - koha.git/commit
Bug 29049: (follow-up) Reduce number of line returns in page
authorNick Clemens <nick@bywatersolutions.com>
Fri, 17 Sep 2021 16:18:09 +0000 (16:18 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 12:15:46 +0000 (08:15 -0400)
commit4537099efedb2cf5d7896990106ad6aeafc099f6
tree2b421da41beba91f2e4a341d2cbf7a8f2f10294e
parente821f50b4e49abc5a6f07b007e353b98632d6f2c
Bug 29049: (follow-up) Reduce number of line returns in page

While moving the dropdown to a block, I noticed the page size was very large when there are many holds

This patch chomps a large amoutn of whitespace, from the block and elsewhere and drecreased the paeg from about 400k lines to 25k lines for a record with ~200 holds

To test:
1 - Apply previous patch
2 - Load holds tab for a biblio
3 - Save the page as html from your browser, note the size of the file
4 - Apply patch this
5 - Reload and repeat
6 - Note the size is much smaller

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc