2015-05-09 51 views
0

我在README中建議實施impliciting排序。 https://github.com/Sology/smart_listing/。 但是,當我點擊可排序的表頭(顯示爲鏈接)沒有任何反應。如果我在新選項卡中打開該鏈接,則會對錶格進行排序。Rails smart_listing gem隱式排序

+0

看看給出的示例[SmartListing Sorting](http://showcase.sology.eu/smart_listing#sorting),也許你忘了'js'文件,以便你的服務器只呈現html。 –

回答

0

感謝您的建議。

通過移動// =要求smart_listing行資產到// = require_tree之前的底部來解決此問題。一行。