Re: Re: [Bug #66] [Base] No 'back to buglist' in 'bug view'

Vincent Danen <[email protected]> Wed, 27 Aug 2003 10:28:42 -0600
Newsgroups gmane.comp.bug-tracking.anthill.devel
Message-ID <[email protected]>
On Wed Aug 27, 2003 at 10:15:17AM +0200, Turbo Fredriksson wrote:

>     anthill-daemon> http://anthill.vmlinuz.ca/anthill/query.php?bug=66
> 
>     anthill-daemon> Are you on the anthill-workers or anthill-users list?
> 
> I am now :)

Good.  =)

>     anthill-daemon> I'd like to get more details from you as to how you
>     anthill-daemon> would like to see this implemented because what I'm
>     anthill-daemon> thinking is really crude so maybe you have something
>     anthill-daemon> better in mind. I'd rather banter about the "how" on
>     anthill-daemon> a mailing list than here. I'll leave the bug open for
>     anthill-daemon> the time being until we can find an adequate solution.
> 
> If it was me, I'd just include the search URL. This means that each 'back'
> would do exactly the same search as one started with...
> 
> If I search for 'Unresolved bugs', the URL would be '/buglist.php?type=unres'
> and this is what the 'back' would do... Hence, if I close a bug I get forwarded
> to the bug view again (if memory serves me right). At the bottom of this (and
> EVERY bug view page), I'd get a 'back to list' which would search (again) for
> unresolved bugs. But in this case, the bug I just closed is NOT listed, which
> is exactly what I intend(ed)....

Ok... I see what you're saying now.  The trick is passing that information
on in a sane manner.

I can't really see a proper way to do that with form posting and don't want
to have really ugly looking urls that include the search type.

Maybe this is something we can store in a cookie so that whenever we do a
query, the buglist stores $_PHP_SELF or whatever in a cookie and we add a
"Return to last queried bug list view" or something similar which pulls the
value of the cookie.

I'll have to think about a nice solution for this.

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
Online Security Resource Book; http://linsec.ca/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}

_______________________________________________
Anthill-workers mailing list
Anthill-workers-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-workers
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/TNw6IEPQ5f5vKv0RAgG2AKCJUXbJDHQsRZwmKlCQ0+DCTrQLCQCgpwNs
RLN//itQVsvGv4Usw6mUTNc=
=qNTT
-----END PGP SIGNATURE-----