changeset 239:cc24919789be

Add method to move one entry to another project
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 20:41:28 +0200
parents e48d6052688f
children 78967e4218bd
files getan/controller.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/controller.py	Tue Apr 09 20:41:09 2013 +0200
+++ b/getan/controller.py	Tue Apr 09 20:41:28 2013 +0200
@@ -75,6 +75,9 @@
         if self.view:
             self.view.update_entries(entries)
 
+    def move_entry(self, entry, project):
+        self.move_entries([entry], project)
+
     def move_entries(self, entries, project):
         old_project = self.project_by_id(entries[0].project_id)
         self.backend.move_entries(entries, project.id)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)