From: Dan Wells Date: Thu, 28 Feb 2013 19:49:16 +0000 (-0500) Subject: Don't populate the MFHD menu with distributions X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0aeeb13cf175eb0a6b63dfc5053abcc0afed3934;p=contrib%2FConifer.git 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 Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2 index 2302e5900c..071ce21a36 100644 --- a/Open-ILS/src/templates/opac/parts/js.tt2 +++ b/Open-ILS/src/templates/opac/parts/js.tt2 @@ -21,12 +21,14 @@