本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
anoopmb
/
frappe
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Merge pull request
#1999
from nabinhait/match_condition_fix
[fix] Set user as session user if not mentioned in match conditions
version-14
Nabin Hait
9 年之前
committed by
GitHub
父節點
7bfaf90fd8
f050cb27e3
當前提交
03b29500d7
共有
1 個檔案被更改
,包括
2 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
frappe/model/db_query.py
+ 2
- 0
frappe/model/db_query.py
查看文件
@@ -337,6 +337,8 @@ class DatabaseQuery(object):
self.match_filters = []
self.match_conditions = []
only_if_shared = False
if not self.user:
self.user = frappe.session.user
if not self.tables: self.extract_tables()
Write
Preview
Loading…
取消
儲存