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=refs%2Fheads%2Fuser%2Fdbwells%2Fsdists_are_not_mfhd;p=working%2FEvergreen.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 --- diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2 index 07dfa9a2ae..949a5304eb 100644 --- a/Open-ILS/src/templates/opac/parts/js.tt2 +++ b/Open-ILS/src/templates/opac/parts/js.tt2 @@ -21,12 +21,14 @@