d2c24f3bbf
getroutinglist returns a count variable to indicate how many elements are in the array. This is almost always a serious code smell. (We are programming in a list manipulating language) The routine was executing am unnecessary loop just to maintain that var. Removed the variable from the routine and perldoc refactored calls of the routine removed the c-style loops for more idiomatic and maintainable for loops renamed some opaquely named variables removed a call to the routine where nothing was done with the data moved some html out of the calling script and into the template Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> |
||
---|---|---|
.. | ||
acqui-search-result.tt | ||
acqui-search.tt | ||
checkexpiration.tt | ||
claims.tt | ||
member-search.tt | ||
result.tt | ||
routing-preview-slip.tt | ||
routing-preview.tt | ||
routing.tt | ||
serial-issues-full.tt | ||
serial-issues.tt | ||
serials-collection.tt | ||
serials-edit.tt | ||
serials-home.tt | ||
serials-recieve.tt | ||
subscription-add.tt | ||
subscription-bib-search.tt | ||
subscription-detail.tt | ||
subscription-renew.tt | ||
viewalerts.tt |