Now I get a flash that says "Searching: 1 files" -- but it still
doesn't display the matching file.

On Nov 10, 5:26 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> OK, I think I understand and it is fixed. Can you try it again (from
> trunk)?
>
> On Nov 10, 3:43 pm, Anthony <abasta...@gmail.com> wrote:
>
>
>
> > According to Firebug, when I search for "gae", it is calling:
>
> >http://127.0.0.1:8000/admin/default/search/welcome?keywords=gae
>
> > and returning the following JSON response:
>
> > {"files": ["models\\db.py"]}
>
> > So, it appears to be working -- but the admin design page is not then
> > displaying the output properly. Probably a problem with the javascript/
> > jQuery code in the view.
>
> > Anthony
>
> > On Nov 10, 4:09 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > In admin/controllers/default.py|search(), can you add a print
> > > statement to make sure it is being called and it is returning te
> > > correct list of matching files?
>
> > > On Nov 10, 2:49 pm, Anthony <abasta...@gmail.com> wrote:
>
> > > > > One thing that's a bit odd is the in file search, which doesn't seem
> > > > > to have any effect on FF (I entered "index" and pressed enter). On IE
> > > > > it's a bit different: "index" and [enter] collapsed all sections
> > > > > (Models, Controllers, Views,...) and they couldn't be expanded again
> > > > > after this. Only F5 solved this.
>
> > > > Actually, I don't think running the search collapses the sections.
> > > > Instead, I think it is supposed to hide everything except the files
> > > > that match the search. The problem is, it appears to simply hide
> > > > everything, including the files that match the search (so the files
> > > > are hidden, not collapsed). F5 (or clicking the Edit button at the
> > > > top) gets you back to the original page, without the search.
>
> > > > Obviously we should fix the search. But once it's fixed, we should
> > > > also make sure there's some UI indicator when there are no search
> > > > results -- otherwise, the user is likely to be confused by what
> > > > appears to be all of the sections collapsing.
>
> > > > Anthony- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to