Skip to content

A possible bug in _parseUrl() #14

Closed
@michael2h4ng

Description

@michael2h4ng

The code used to append the parameter date looks like this.

    if ($this->_period != self::PERIOD_RANGE) {
        $params = $params + array(
            'date' => $this->_date,
        );
    } else {
            $params = $params + array(
        'date' => $this->_rangeStart . ',' . $this->_rangeEnd,
        );
    }

However, there are actually 3 posibilities:

Currently, _parseUrl() only considers the first 2 situations. Can we implement the last situation? It's extremely useful when people want to visualize visits data over time.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions