Show More
Commit Description:
- login report...
Commit Description:
- login report - fix bugs on pagination on user manage
File last commit:
Show/Diff file:
Action:
app/views/report/login_summary_query.json.jbuilder | 12 lines | 440 B | text/plain | TextLexer |
json.draw params['draw']&.to_i
json.recordsTotal @recordsTotal
json.recordsFiltered @recordsFiltered
json.data do
json.array! @users do |user|
json.login_text "<a href='#{stat_user_path(user[:id])}'>(#{user[:login]})</a> #{user[:full_name]}"
json.count user[:count]
json.earliest user[:min].strftime('%Y-%m-%d %H:%M')
json.latest user[:max].strftime('%Y-%m-%d %H:%M')
json.ip_address user[:ip].join('<br/>')
end
end