Show
Ignore:
Timestamp:
05.10.2018 16:46:39 (12 months ago)
Author:
ak19
Message:

Fix for PDFv2 plugin's page buckets.

Files:
1 modified

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