From 0f56e42e33f6ccbb3c4d772e1f9d1024d23b5f10 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Thu, 28 Feb 2013 14:49:16 -0500 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/js.tt2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2 index fb500c7216..4dfb0a4c14 100644 --- a/Open-ILS/src/templates/opac/parts/js.tt2 +++ b/Open-ILS/src/templates/opac/parts/js.tt2 @@ -21,12 +21,14 @@ -- 2.11.0