From 20bbbb90193331c857b74ab13d94c4a0cccc335e Mon Sep 17 00:00:00 2001 From: Zara Date: Thu, 14 Jul 2016 16:24:18 +0000 Subject: [PATCH] Comment some settings in worklist resource There were a couple of mysterious 'true, false' settings, and it was not clear what they toggled when someone looked at this file alone. The answer lay in resourcefactory.js, which is in another directory (src/app/services/service). This patch documents them in the same file that they're used. Change-Id: Ia645c9ddf42656db60cd10ba3351c65ac275ef53 --- src/app/services/resource/worklist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/services/resource/worklist.js b/src/app/services/resource/worklist.js index 71413852..5040aba5 100644 --- a/src/app/services/resource/worklist.js +++ b/src/app/services/resource/worklist.js @@ -28,7 +28,8 @@ angular.module('sb.services').factory('Worklist', '/worklists/:id', '/worklists/search', {id: '@id'}, - false, true + false, true //turn off 'cache search results', and turn on 'disable +// cached GETs', respectively ); var items_signature = {