]> git.evergreen-ils.org Git - Evergreen.git/commit
Don't populate the MFHD menu with distributions
authorDan Wells <dbw2@calvin.edu>
Thu, 28 Feb 2013 19:49:16 +0000 (14:49 -0500)
committerBen Shum <bshum@biblio.org>
Mon, 11 Mar 2013 23:58:38 +0000 (19:58 -0400)
commit826e5ddaba5fcbba77b857002bf03ba895fb191b
treecceb44da354522f011ce297571e6d5889af48bb0
parent2b1ba191e443fae1f18dbeeee23ea2445a83a61d
Don't populate the MFHD menu with distributions

If a distribution has no legacy record, it shouldn't get a menu
entry in the MFHD menus. A magic id of '-1' is used to indicate
this case, so we need to check for that when populating
mfhdDetails via the TPAC.

Also, entryNum must be an int, not a string, because it is
incremented prior to display. Removing the quotes solves this
display issue.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/opac/parts/js.tt2