# HG changeset patch # User Dirk Olmes # Date 1430180624 -7200 # Node ID 1b98925facf67d60aa947f3413d13bf19444bf87 # Parent a15b3ee791a1163b5e5f0ed82e42e80c54470a0f Bugfix: use the existing _retrieveEntriesForSelectedFeed method to retrieve all articles when deleting a feed diff -r a15b3ee791a1 -r 1b98925facf6 backend/couchdb/CouchDbBackend.py --- a/backend/couchdb/CouchDbBackend.py Sat Apr 25 04:10:12 2015 +0200 +++ b/backend/couchdb/CouchDbBackend.py Tue Apr 28 02:23:44 2015 +0200 @@ -84,7 +84,7 @@ feed.store(self.database) def deleteSelectedFeed(self): - viewResults = self.database.view(CouchDb.feedEntriesByFeed(), key=self.selectedFeed.id) + viewResults = self._retrieveEntriesForSelectedFeed(False) for row in viewResults: del self.database[row.id] del self.database[self.selectedFeed.id]