Bug 7995 - itemsPerPage (and numPageLinks) settings not fully hidden
itemsPerPage (and numPageLinks) settings not fully hidden
Status: RESOLVED FIXED
Product: OMP
Classification: Unclassified
Component: General
1.0
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-01 08:23 PDT by Alec Smecher
Modified: 2012-11-02 08:28 PDT (History)
0 users

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2012-11-01 08:23:00 PDT
itemsPerPage (and numPageLinks) settings not fully hidden pending paging implementation
Comment 1 Alec Smecher 2012-11-01 08:25:01 PDT
Further hiding of itemsPerPage and numPageLinks
https://github.com/pkp/omp/commit/20f5461a396a65ae02359a8d18a07a31badc15d0
Comment 2 Alec Smecher 2012-11-01 08:28:29 PDT
If you're encountering the "division by zero" bug reported at <http://pkp.sfu.ca/support/forum/viewtopic.php?f=40&t=9226>, apply the attached patch and then run the following SQL query:

UPDATE press_settings SET setting_value=25 WHERE setting_name='itemsPerPage';

Finally, flush your data cache (by removing cache/*.php, or by clicking Administration > Clear Data Caches), and the issue should be resolved.
Comment 3 Alec Smecher 2012-11-01 08:30:02 PDT
Further hiding of itemsPerPage and numPageLinks
https://github.com/pkp/omp/commit/a30e614cc419c835bce9a7c5d590707f317f927d