View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009282 | mantisbt | filters | public | 2008-06-19 04:59 | 2023-10-13 12:56 |
Reporter | dyawlak | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | HP Blade server | OS | Windows | OS Version | 2003 |
Product Version | 1.1.1 | ||||
Summary | 0009282: URL Short cut not working as supposed to | ||||
Description | I have an application that emails out a list of assigned work per user. There is a hyperlink link against the user name that opens Mantis and shows the calls for that user: http://server/view_all_set.php?type=1&temporary=y&handler_id=12&hide_status=80&project_id=0 This works fine if Mantis is not loaded already as it shows all open calls across all projects. if Mantis is already loaded, it only shows the current project calls. | ||||
Tags | No tags attached. | ||||
Upgraded to 1.1.2 - fault persists. |
|
I suspect that the filtering code is confusing project=0 (ALL_PROJECTS) with META_FILTER_ANY (i.e. no filter on project field). As a work around, I will generate a URL that looks as follows: This will set the current project to all projects, then apply the filter. You can then remove project_id=0 from the filter URL. |
|
thanks vboctor |
|
hi - wondered if there'd been any movement with this Thanks |
|
vboctor - is there any news on this? |
|
vboctor Ok - blonde moment over. I see you were giving me the answer. I think I going wrong somewhere tho. My line now reads |
|
dyawlak, you'll need to urlencode() the url, specifically to turn "&" to "&" - as you have it, the first page only sees the ref=http://mantis/view_all_set.php?type=1 as a single parameter. |
|
Unfortuneately, I'm not using PHP to create the email. but it loads My View instead - so I guess I'm encoding from the wrong place. |
|
Don't suppose someone could confirm what the URL shoul look like for me - sorry to be a pain |
|
I know 4+ years later you probably don't care anymore, but here it goes In the URL you posted in 0009282:0020654 you have a '/' incorrectly encoded as '%2e' instead of '%2f' - and you're missing the last part of your original URL (as posted in 0009282:0020642) - |
|
dyawlak, You did not provide any feedback; I am therefore resolving this issue as "no change required". Feel free to reopen the issue at a later time and provide the requested information. |
|