Problem/Motivation

Visitor reports are not views, but it would be better if they were. The data range is stored in the User's session.

Steps to reproduce

Create a view. The results are not limited by the date range.

Proposed resolution

Create a custom views filter plugin to filter the results.

Remaining tasks

  • Move date range to private data service, instead of session.
  • Write filter plugins

User interface changes

none

API changes

Moves date range from session to private data service.

Data model changes

Issue fork visitors-3376233

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bluegeek9 created an issue. See original summary.

bluegeek9’s picture

Status: Active » Needs review

This is intended as part of the 8.x-2.17 release.

bluegeek9’s picture

Status: Needs review » Fixed
bluegeek9’s picture

Status: Fixed » Needs work

There is now an issue with the visitors' date time filter.

InvalidArgumentException: The configuration property display.default.display_options.filters.visitors_date_time.value.min doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 76 of core/lib/Drupal/Core/Config/Schema/ArrayElement.php).
Drupal\Core\Config\StorableConfigBase->castValue('display.default.display_options.filters.visitors_date_time.value.min', '-1 week') (Line: 218)
Drupal\Core\Config\StorableConfigBase->castValue('display.default.display_options.filters.visitors_date_time.value', Array) (Line: 218)
Drupal\Core\Config\StorableConfigBase->castValue('display.default.display_options.filters.visitors_date_time', Array) (Line: 218)
Drupal\Core\Config\StorableConfigBase->castValue('display.default.display_options.filters', Array) (Line: 218)

bluegeek9’s picture

Status: Needs work » Active

  • bluegeek9 authored 91630d67 on 8.x-2.x
    Issue #3376233 by bluegeek9: View filter date range
    
bluegeek9’s picture

Status: Active » Fixed
bluegeek9’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

bluegeek9’s picture

This issue was resolved. A new release, 8.x-2.17, will be made soon, May 31st.

This is an excellent opportunity to beta test the dev branch, and report any issues.

Contributors (5)

bluegeek9, roshni27, abhishek_gupta1, sarwan_verma, SandeepSingh199

Changelog

Issues: 32 issues resolved.

Changes since 8.x-2.16:

Bug

Feature

Task