From fd852409ecc7d4793dc9dc6c691ce818e6f6e603 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 17 Dec 2010 11:19:42 +0100 Subject: [PATCH] Slight changes on the database layout of the netboot feature. --- www/webapp/backend/netboot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/webapp/backend/netboot.py b/www/webapp/backend/netboot.py index f78094e9..cd5b6b0c 100644 --- a/www/webapp/backend/netboot.py +++ b/www/webapp/backend/netboot.py @@ -52,6 +52,9 @@ class NetBoot(object): if m.type == "header": m.submenu = self.get_menu(m.submenu_level) + elif m.type == "config": + m._data.update(self.db.get("SELECT title, description FROM boot WHERE id = %s" % m.item)) + menu.append(m) return menu -- 2.47.3