prssanna
1b691c799d
refactor: refactor get_date_range
2020-06-01 10:52:07 +05:30
prssanna
d9e8b7ef4f
fix: handle old date filters in query
2020-06-01 10:51:38 +05:30
prssanna
f7f2be5926
fix: rename function
2020-06-01 10:51:38 +05:30
prssanna
4b2d730a8c
fix: variable naming
2020-06-01 10:51:38 +05:30
prssanna
6495ee2426
style: fix formatting
2020-06-01 10:51:38 +05:30
prssanna
2fcd8c2905
fix: move timespan function to data.py
2020-06-01 10:51:38 +05:30
prssanna
f0d62d4007
fix: all periods in timespan filter
2020-06-01 10:51:38 +05:30
prssanna
4c16b2a608
feat: api to get additional filters
2020-06-01 10:51:38 +05:30
prssanna
53e2e60cab
feat: filter for current timespan
2020-06-01 10:51:38 +05:30
prssanna
cfdc24aef5
fix: dayofyear unit function for child table query
2020-02-28 13:00:04 +05:30
prssanna
946990d531
fix: set filter button for all chart types
2020-02-28 13:00:04 +05:30
prssanna
6977025614
fix: child table filters for dashboard charts based on doctype
2020-02-28 13:00:04 +05:30
Shridhar
b3b70f3b7f
Bug fixed ID value should not be set to 0 by default
2019-12-11 09:21:17 +05:30
Shridhar
44c7f08ccf
convert operator to lowercase while checking
2019-11-28 18:07:14 +05:30
Shridhar
acae06a36a
case insensitive search for postgres
2019-11-28 16:13:20 +05:30
Shivam Mishra
00d21a2ac5
fix: tests for db_query
2019-10-29 10:17:52 +05:30
Shivam Mishra
08b992d547
style: removed loop to check standard SQL
2019-10-29 10:07:39 +05:30
Shivam Mishra
c0d69a04c4
feat: added tests
2019-10-24 19:47:53 +05:30
Shivam Mishra
d93b060f22
refactor: improved for readability
2019-10-24 18:43:24 +05:30
Shivam Mishra
e1aa309b87
fix: do not append table names for mysql methods
2019-10-24 17:29:56 +05:30
Aditya Hase
10bd8012ce
perf(orm): Use cached table_columns instead of querying the database
2019-10-23 23:00:02 +05:30
Rucha Mahabal
20ea14efe4
fix(Report View): Error on setting Is Set filter for date fields
2019-09-19 20:41:56 +05:30
Prssanna Desai
d42fea0104
feat: Add child table fields to group by in reports ( #8390 )
2019-09-11 17:11:24 +05:30
Suraj Shetty
2e2ebcd9cc
fix: Comments in add_user_permissions
2019-08-12 09:47:22 +05:30
Aditya Hase
5d04fb4eb7
fix(search): Reduce restrictions on field contents
2019-07-30 14:25:13 +05:30
Aditya Hase
8ac155f7b6
fix(security): Sanitize fields list, group_by and order_by clause to prevent SQLi
2019-07-30 12:52:01 +05:30
Aditya Hase
ce60f98ab6
Revert "fix(security): Disallow unnecessary characters in group_by and fields"
...
This reverts commit fb8993663c .
2019-07-26 20:49:46 +05:30
Aditya Hase
fb8993663c
fix(security): Disallow unnecessary characters in group_by and fields
2019-07-25 20:54:08 +05:30
Prssanna Desai
8a4bfb1429
Improve query for assignment count and add test
2019-03-27 22:41:02 +05:30
Frappe Bot
94ea028db3
Merge branch 'master' into develop
2019-03-08 09:38:18 +00:00
Anurag Mishra
cd191439fd
feat: Document subscription ( #6745 )
2019-03-07 14:06:22 +05:30
Rushabh Mehta
43fe6bd152
fix(db_query): handle null in fields list
2019-03-05 10:26:26 +05:30
Rushabh Mehta
c0631e4e98
Merge pull request #6924 from ElasticRun/db_query_bug_fix
...
[bug fix]: prepare filter condition function
2019-02-28 13:02:15 +05:30
Faris Ansari
0a30746007
fix: Check if value is string
2019-02-26 16:16:38 +05:30
Faris Ansari
0dbafb9c6b
fix: Make requests with cmd on /api/method/path
...
- Will help in better debugging and Cypress testing
2019-02-13 16:04:06 +05:30
sivankar
40dc733701
added map
2019-02-12 21:08:49 +05:30
Suraj Shetty
a67cecf981
fix(test): Use single quotes for empty string (constant) ( #6871 )
...
* Use single quotes for empty string
since value inside double quotes is considered as Identifier in postgres
* Do not show change log modal when in test
* Revert "Do not show change log modal when in test"
This reverts commit 6c2c3fd80cad3ff491b7d3b60a2b756ba6823bf8.
* Do not show change log modal when in test
- To check it is test environment we are checking if Cypress is
loaded on window object
2019-02-01 17:34:12 +05:30
Sagar Vora
ef82f39f99
Merge branch 'staging' into develop
2019-01-29 18:24:11 +05:30
sahil28297
60d0c390f0
fix: datetime handling in relative filters ( #6823 )
2019-01-24 14:53:54 +05:30
Faris Ansari
5ffdeb19fc
feat: New filter type "Is Set", "Is Not Set"
2019-01-24 14:26:27 +05:30
sahil28297
3644f5f4cd
feat: relative timeframe filters ( #6792 )
...
* feat: relative timeframe filters
* fix: resolve syntax errors
* fix: Translated options
2019-01-21 16:02:40 +05:30
Saurabh
d5fdc670f7
Merge branch 'staging' into develop
2019-01-01 14:26:16 +05:30
Suraj Shetty
eacaea6a0d
Add accidently removed match filters ( #6701 )
...
- Fixes "No user permission applied for Reports" issue
2018-12-31 20:07:13 +05:30
Frappe Bot
a7754527df
Merge branch 'staging' into develop
2018-12-26 14:31:02 +00:00
Suraj Shetty
8b201911b4
fix(permission): Update db_query.py ( #6683 )
2018-12-26 19:57:18 +05:30
Suraj Shetty
fe49117c92
fix: issue related to quotes ( #6682 )
2018-12-26 19:36:13 +05:30
Frappe Bot
0499b4a845
Merge branch 'staging' into develop
2018-12-26 12:03:03 +00:00
Suraj Shetty
40fb7ac76f
Init reference doctype
2018-12-12 13:50:20 +05:30
Suraj Shetty
039bd58a31
Fix minor bug
2018-12-12 13:17:12 +05:30
Suraj Shetty
70a8054020
Fix client side user permission check
2018-12-12 13:15:11 +05:30