Don't populate the MFHD menu with distributions user/dbwells/sdists_are_not_mfhd
authorDan Wells <dbw2@calvin.edu>
Thu, 28 Feb 2013 19:49:16 +0000 (14:49 -0500)
committerDan Wells <dbw2@calvin.edu>
Thu, 28 Feb 2013 19:49:16 +0000 (14:49 -0500)
commit51c0b0d9943b06bbccfd2e82341a8b902735a85b
tree969d0b2cdd84d3463c69291d36d99daba74089b6
parenta189fca3210ec334979aea601758594118bea887
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>
Open-ILS/src/templates/opac/parts/js.tt2