无法搜索工作 [英] Can't get search to work

查看:73
本文介绍了无法搜索工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注
添加搜索合同项模板
但是选择搜索结果中找到的项目之一总是会将我带到第一组而不是搜索字词所在的组。

I'm following the Adding a Search Contract item template but selecting one of the items found in the search results always takes me to the first group instead of the group where the search term is.

所以我创建了一个全新的使用SplitView进行测试,然后按照步骤操作,它也会做同样的事情。

So I created a brand new SplitView to test, and followed the steps, and it does the same thing.

_itemInvoked获取正确的组和项目,但

The _itemInvoked gets the correct group and item, but

                 nav.navigate(" /pages/split/split.html" ;, {group:item.data.group,selectedIndex:idx

                nav.navigate("/pages/split/split.html", { group: item.data.group, selectedIndex: idx

导航到第一组,而不是指定的组item.data.group

navigates to the first group, not the one specified in item.data.group

我缺少什么想法?我按照说明多次......: - )

Any ideas what I am missing? I followed the instructions several times... :-)

谢谢!

Alex

推荐答案

我可以看到导航功能需要一个"groupkey"。选项中的属性,但搜索代码没有通过...
Poking around some more I can see that the navigate function wants a "groupkey" property in the options, but the search code isn't passing that...


这篇关于无法搜索工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆