Changeset 32499


Ignore:
Timestamp:
2018-10-05T16:46:39+13:00 (3 years ago)
Author:
ak19
Message:

Fix for PDFv2 plugin's page buckets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/PDFv2Plugin.pm

    r32305 r32499  
    565565    # If number of remaining pages >= 10, then create new bucket heading
    566566    # e.g. "Pages 30-40"
    567     if(($page_num % 10) == 1 && ($num_html_pages - $page_num) > 10) {
     567    if(($page_num % 10) == 1 && ($num_html_pages > 10)) {
    568568        # Double-digit page numbers that start with 2
    569569        # i.e. 21 to 29 (and 30) should be in 21 to 30 range
Note: See TracChangeset for help on using the changeset viewer.