modxcms/revolution — pull request #11957 by rtripault (2014-09-04 08:26:57+00:00)
Title: Use window.location.search to populate MODx.request

### What does it do ?

Makes use of `window.location.search` to populate `MODx.request`, instead of `document.location.href`

### Why is it needed ?

`location.href` contains the potential hash (ie. `uri?param=value#hash`).
Considering the previous example, with the current code, `MODx.request.param` value would be `value#hash` when it should be `value`.
This PR aims to allow hash usage without messing with "request parameters".