|
|
@@ -347,6 +347,7 @@ public class ResultPresenter implements ResultAdapter.ApexResultAdapterDataSourc
|
|
|
Bundle params = (Bundle) mParams.clone();
|
|
|
params.putInt("offset", offset);
|
|
|
params.putInt("limit", detal);
|
|
|
+
|
|
|
params.putString("columns", mFields);
|
|
|
JSONObject json = RADataProvider.Search(params);
|
|
|
|
|
|
@@ -442,8 +443,8 @@ public class ResultPresenter implements ResultAdapter.ApexResultAdapterDataSourc
|
|
|
|
|
|
if (dirty) {
|
|
|
dirty = false;
|
|
|
- String module_name = mParams.getString("module_name");
|
|
|
- String fields = RADataProvider.getDisplayFieldsForFunction(module_name);
|
|
|
+ String sub_type = mParams.getString("sub_type");
|
|
|
+ String fields = RADataProvider.getAddationalFieldsForFunction(sub_type);
|
|
|
mFields = fields;
|
|
|
}
|
|
|
|
|
|
@@ -484,9 +485,9 @@ public class ResultPresenter implements ResultAdapter.ApexResultAdapterDataSourc
|
|
|
|
|
|
// final String paramStr = json.toString();
|
|
|
|
|
|
- final String module_name = mParams.getString("sub_type");
|
|
|
+ final String sub_type = mParams.getString("sub_type");
|
|
|
|
|
|
- boolean bsuccessful=RADataProvider.saveSearchParametersForModuleWithName(intentStr, json, module_name, name);
|
|
|
+ boolean bsuccessful=RADataProvider.saveSearchParametersForModuleWithName(intentStr, json, sub_type, name);
|
|
|
|
|
|
getDelegate().onStopLoading();
|
|
|
|