diff --git a/app/utils/pouch-views.js b/app/utils/pouch-views.js
index <HASH>..<HASH> 100644
--- a/app/utils/pouch-views.js
+++ b/app/utils/pouch-views.js
@@ -333,7 +333,8 @@ var designDocs = [{
       patientListingKey +
     '}'
   ),
-  version: 2
+  sort: patientListingSearch,
+  version: 3
 }, {
   name: 'photo_by_patient',
   function: generateView('photo',
Added back patientListingSearch

It was accidentally removed in the merge.