]> git.deb.at Git - deb/packages.git/commit
Search.pm: Avoid printing empty items in the similar packages list.
authorNoritada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>
Mon, 26 Nov 2007 11:44:18 +0000 (20:44 +0900)
committerNoritada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>
Mon, 26 Nov 2007 11:44:18 +0000 (20:44 +0900)
commit683227b8432fdbae4d0553d1549335047e641bfa
tree9aeb703e4bb62db02476bd4fbb175a2b0c99a30f
parentc293f38c376ee68c18b2f6f64f2a511f0829c6d7
Search.pm: Avoid printing empty items in the similar packages list.

Consider conditions where the number of similar packages are less than
11, avoiding printing "<li><a href="/"></a></li>" in the similar
packages list.
lib/Packages/Search.pm