Title: Shortcode filter
Last modified: February 28, 2020

---

# Shortcode filter

 *  [prosim](https://wordpress.org/support/users/prosim/)
 * (@prosim)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shortcode-filter/)
 * In the Login List page I see all entries when no daterange is speciied and when
   I set some filters only the appropriate records are shown.
    But when I have the
   following shortcode in a post: [user_login_history limit=’20’ columns=’username,
   user_id,role,time_login,time_logout,duration,time_last_seen’] I am forced to 
   enter a daterange, and whatever range I enter the result is always the message“
   no records found”. Am I missing something?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Faiyaz Alam](https://wordpress.org/support/users/faiyazalam/)
 * (@faiyazalam)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-filter/#post-12615327)
 * The shortcode is used to render the records of the current loggedin user.
    There
   is no need to apply date range to see the records on frontend. It will show all
   the records of current user. Can you check your database table “fa_user_logins”
   if there is records based on your applied filters?

Viewing 1 replies (of 1 total)

The topic ‘Shortcode filter’ is closed to new replies.

 * ![](https://ps.w.org/user-login-history/assets/icon-128x128.jpg?rev=1886722)
 * [User Login History](https://wordpress.org/plugins/user-login-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-login-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-login-history/)
 * [Active Topics](https://wordpress.org/support/plugin/user-login-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-login-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-login-history/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Faiyaz Alam](https://wordpress.org/support/users/faiyazalam/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-filter/#post-12615327)
 * Status: not resolved