]> 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>
Tue, 12 Mar 2013 00:02:48 +0000 (20:02 -0400)
commit0f56e42e33f6ccbb3c4d772e1f9d1024d23b5f10
tree2a1cbbd3e507b13407af4780d06d8dd7ca9033e3
parentf40d901d7e95d710c9814740af12120c5641eadb
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