log('Action {} should not specify `uids` as its parameters when it does not take object list from the previous view!'.format(dialog_method),level=ERROR)
log('Action {} should not specify `uids` as its parameters when it does not take object list from the previous view!'.format(dialog_method),level=ERROR)
elifquery==""andselect_all==0anddialog_method!=update_method:# do not interrupt on UPDATE
elifquery==""andselect_all==0andnotis_updating:# do not interrupt on UPDATE
extra_param["_select_all"]=1
returncontext.Base_renderForm(
returncontext.Base_renderForm(
dialog_id,
dialog_id,
message=translate("All documents are selected! Submit again to proceed or Cancel and narrow down your search."),
message=translate("All documents are selected! Submit again to proceed or Cancel and narrow down your search."),
level=WARNING,
level=WARNING,
keep_items={'_select_all':1},
keep_items=extra_param,
query=query,
query=query,
form_data=form_data)
form_data=form_data)
...
@@ -201,15 +204,17 @@ if dialog_category == "object_search" :
...
@@ -201,15 +204,17 @@ if dialog_category == "object_search" :
# Notify the underlying script whether user did modifications
# Notify the underlying script whether user did modifications