Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show search result on articles#index #1

Merged
merged 1 commit into from Sep 9, 2013
Merged

show search result on articles#index #1

merged 1 commit into from Sep 9, 2013

Conversation

happypeter
Copy link
Contributor

看了一下,目前的代码点击 search 按钮,查询关键字会被提交到 aritcles#index 方法,最终的结果会在相应的 index.html 上显示。

但是问题是 articles#index 中没有相应的查询代码去处理关键字。而在 static_pages#home 里的代码是永远也不会被执行到的。

我的这个 patch 解决了上面的问题。

runup added a commit that referenced this pull request Sep 9, 2013
show search result on articles#index
@runup runup merged commit 937501b into runup:master Sep 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants