]> 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:32 +0000 (19:58 -0400)
commit0aeeb13cf175eb0a6b63dfc5053abcc0afed3934
tree7d40f63e88568700608fe5af1ab259e44c79d9e0
parent8d86d3fe1d71797d671a13a9b10a6141936ed94e
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