2.0.3 - the "Search" function appears to not display results under certain circumstances #19

Closed
pauldacus opened this Issue Apr 2, 2012 · 3 comments

Comments

Projects
None yet
3 participants

The "Search" on the "Pages" tab appears to intermittently not display results. Using 2.0.3, fresh install, added pages as follows (no sidebar content on these test pages):

Title: tgh
Body: tgh

Title: Tgh
Body: Tgh

Title: TGH
Body TGH

Title: tghtgh
Body: tghtgh

Searching for "tgh" displays no results, however this is in the logs: https://gist.github.com/2286650

It appears the first 3 pages are being found, per this line:

SELECT "refinery_pages".* FROM "refinery_pages" WHERE (refinery_pages.id IN (5,6,7)) ORDER BY lft ASC

Conversely, a search for "tghtgh" shows the last page is being found (or so it seems):

SELECT "refinery_pages".* FROM "refinery_pages" WHERE (refinery_pages.id IN (8)) ORDER BY lft ASC

You can see from this screenshot, it doesn't display results:

http://i43.tinypic.com/35a9d2f.png

Strangely enough, search for "About" works, and the default About page is displayed in the results.

Heh he... was it a slip that I put my wonky admin menu in there on the screenshot? Maybe :-)

Owner

ugisozols commented Apr 3, 2012

The search functionality you're referring to is actually built in Refinery CMS itself and this repo is for frontend searching.

I tried to reproduce this issue (using master branch) but I didn't succeed. See attached screenshots:
http://dl.dropbox.com/u/9517694/search1.png
http://dl.dropbox.com/u/9517694/search2.png
http://dl.dropbox.com/u/9517694/search3.png

parndt closed this May 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment