diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-11-06 16:32:55 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-11-06 16:32:55 -0500 |
commit | 6c0b80059961f3785a16b8397e94bbd310561a7f (patch) | |
tree | 34482d284905ee1b59261edf1993c92cdd8274da | |
parent | 5a645c09df20c7fea91bcf246c05dbd160c8612a (diff) | |
download | third_party-cobbler-6c0b80059961f3785a16b8397e94bbd310561a7f.tar.gz third_party-cobbler-6c0b80059961f3785a16b8397e94bbd310561a7f.tar.xz third_party-cobbler-6c0b80059961f3785a16b8397e94bbd310561a7f.zip |
Fix settings display in WebUI
-rw-r--r-- | cobbler/remote.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cobbler/remote.py b/cobbler/remote.py index 7b92a17..ff8d2db 100644 --- a/cobbler/remote.py +++ b/cobbler/remote.py @@ -91,6 +91,10 @@ class CobblerXMLRPCInterface: data = self.api.deserialize_raw(collection_name) total_items = len(data) + + if collection_name == "settings": + return self._fix_none(data) + data.sort(self.__sorter) if page is not None and results_per_page is not None: |