Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-directcontrolservlet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d5a902c6
authored
2014-06-17 15:39:23 -0500
by
Jerry Pommer
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Resolve #3199 - Add date filtering to visit query.
1 parent
72178d74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
d5a902c
...
...
@@ -172,10 +172,13 @@ public class DirectControlServlet extends HttpServlet {
String
authToken
=
request
.
getParameter
(
"sessionId"
);
if
(
authToken
!=
null
)
{
GenericValue
authTokenEntity
=
EntityUtil
.
getFirst
(
delegator
.
findList
(
"Visit"
,
EntityCondition
.
makeCondition
(
"cookie"
,
EntityOperator
.
EQUALS
,
authToken
),
null
,
null
,
null
,
true
));
EntityUtil
.
filterByDate
(
delegator
.
findList
(
"Visit"
,
EntityCondition
.
makeCondition
(
"cookie"
,
EntityOperator
.
EQUALS
,
authToken
),
null
,
null
,
null
,
true
)
)
);
if
(
authTokenEntity
!=
null
&&
authTokenEntity
.
get
(
"userLoginId"
)
!=
null
)
{
...
...
Please
register
or
sign in
to post a comment