 				]
 				[o, term, 1]
 			o: (data) ->
-				x = data.payload[0]
+				x = o1 data
 				# flatten the list of ids
 				x.ids = $.map x.ids, (v) -> v
 				return x

				$.ajaxSetup eg.ajaxOptions
				$().publish 'session.logout'
				auth.setup_timeout 0
				data.payload[0]
			login_required: false # Logging out multiple times is OK

		'auth.session.retrieve':

		'search.biblio.copy_location_counts.summary.retrieve':
			i: (o) -> [o.id, o.org_id, o.depth]
			o: (data) ->
				data = o1 data
				# [ [org_id, callnumber_label, copy_location, {status1=>count1, status2=>count2}], ]
				$.each data, (n) ->
					data[n] =
