{"action":"opened","number":172,"pull_request":{"url":"https://api.github.com/repos/moqui/moqui/pulls/172","id":50043159,"html_url":"https://github.com/moqui/moqui/pull/172","diff_url":"https://github.com/moqui/moqui/pull/172.diff","patch_url":"https://github.com/moqui/moqui/pull/172.patch","issue_url":"https://api.github.com/repos/moqui/moqui/issues/172","number":172,"state":"open","locked":false,"title":"Handled the use case when searched string is part of the entity name","user":{"login":"swapnilmmane","id":7145848,"avatar_url":"https://avatars.githubusercontent.com/u/7145848?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilmmane","html_url":"https://github.com/swapnilmmane","followers_url":"https://api.github.com/users/swapnilmmane/followers","following_url":"https://api.github.com/users/swapnilmmane/following{/other_user}","gists_url":"https://api.github.com/users/swapnilmmane/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilmmane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilmmane/subscriptions","organizations_url":"https://api.github.com/users/swapnilmmane/orgs","repos_url":"https://api.github.com/users/swapnilmmane/repos","events_url":"https://api.github.com/users/swapnilmmane/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilmmane/received_events","type":"User","site_admin":false},"body":"*Purpose*: When a user enters the string for a filter which is sub-part of entity name (or may be different in case) in this situation also the entity in the search list should be shown.\r\nPlease refer below for the example.\r\n\r\nWhen we search for entity in Entity tools at http://demo.moqui.org/apps/tools/Entity/DataEdit/EntityList\r\nfor e.g. we searched for the keyword **'status'**\r\n\r\n**No results are shown** because as per our current code, it is looking for the exact match which should be something like this **'moqui.basic.StatusItem'**\r\n\r\n![entities_list](https://cloud.githubusercontent.com/assets/7145848/11016823/3aa24c44-85b2-11e5-8603-eb20beca69a7.png)\r\n\r\n\r\nAs per the current commit, I have tried to handled the ignoring the case as well as it the searched string is the subpart of the entity name, that entity will be listed.\r\n\r\n\r\n![updated_entity_list](https://cloud.githubusercontent.com/assets/7145848/11016825/4021e4a4-85b2-11e5-8c10-26f54289f98c.png)\r\n\r\n\r\nThanks in advance for reviewing the pull request.\r\nKindly let me know if I understand any thing incorrectly or you need more explanation on this. Also, please suggest if any updates required :smiley: !","created_at":"2015-11-07T19:22:01Z","updated_at":"2015-11-07T19:22:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moqui/moqui/pulls/172/commits","review_comments_url":"https://api.github.com/repos/moqui/moqui/pulls/172/comments","review_comment_url":"https://api.github.com/repos/moqui/moqui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moqui/moqui/issues/172/comments","statuses_url":"https://api.github.com/repos/moqui/moqui/statuses/837a0fc05d57f6bfa9e1da7a1eb7c931525ee4d0","head":{"label":"swapnilmmane:master","ref":"master","sha":"837a0fc05d57f6bfa9e1da7a1eb7c931525ee4d0","user":{"login":"swapnilmmane","id":7145848,"avatar_url":"https://avatars.githubusercontent.com/u/7145848?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilmmane","html_url":"https://github.com/swapnilmmane","followers_url":"https://api.github.com/users/swapnilmmane/followers","following_url":"https://api.github.com/users/swapnilmmane/following{/other_user}","gists_url":"https://api.github.com/users/swapnilmmane/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilmmane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilmmane/subscriptions","organizations_url":"https://api.github.com/users/swapnilmmane/orgs","repos_url":"https://api.github.com/users/swapnilmmane/repos","events_url":"https://api.github.com/users/swapnilmmane/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilmmane/received_events","type":"User","site_admin":false},"repo":{"id":45724379,"name":"moqui","full_name":"swapnilmmane/moqui","owner":{"login":"swapnilmmane","id":7145848,"avatar_url":"https://avatars.githubusercontent.com/u/7145848?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilmmane","html_url":"https://github.com/swapnilmmane","followers_url":"https://api.github.com/users/swapnilmmane/followers","following_url":"https://api.github.com/users/swapnilmmane/following{/other_user}","gists_url":"https://api.github.com/users/swapnilmmane/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilmmane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilmmane/subscriptions","organizations_url":"https://api.github.com/users/swapnilmmane/orgs","repos_url":"https://api.github.com/users/swapnilmmane/repos","events_url":"https://api.github.com/users/swapnilmmane/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilmmane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swapnilmmane/moqui","description":"Moqui Framework is a framework for building enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-tenancy, and integration.","fork":true,"url":"https://api.github.com/repos/swapnilmmane/moqui","forks_url":"https://api.github.com/repos/swapnilmmane/moqui/forks","keys_url":"https://api.github.com/repos/swapnilmmane/moqui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swapnilmmane/moqui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swapnilmmane/moqui/teams","hooks_url":"https://api.github.com/repos/swapnilmmane/moqui/hooks","issue_events_url":"https://api.github.com/repos/swapnilmmane/moqui/issues/events{/number}","events_url":"https://api.github.com/repos/swapnilmmane/moqui/events","assignees_url":"https://api.github.com/repos/swapnilmmane/moqui/assignees{/user}","branches_url":"https://api.github.com/repos/swapnilmmane/moqui/branches{/branch}","tags_url":"https://api.github.com/repos/swapnilmmane/moqui/tags","blobs_url":"https://api.github.com/repos/swapnilmmane/moqui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swapnilmmane/moqui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swapnilmmane/moqui/git/refs{/sha}","trees_url":"https://api.github.com/repos/swapnilmmane/moqui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swapnilmmane/moqui/statuses/{sha}","languages_url":"https://api.github.com/repos/swapnilmmane/moqui/languages","stargazers_url":"https://api.github.com/repos/swapnilmmane/moqui/stargazers","contributors_url":"https://api.github.com/repos/swapnilmmane/moqui/contributors","subscribers_url":"https://api.github.com/repos/swapnilmmane/moqui/subscribers","subscription_url":"https://api.github.com/repos/swapnilmmane/moqui/subscription","commits_url":"https://api.github.com/repos/swapnilmmane/moqui/commits{/sha}","git_commits_url":"https://api.github.com/repos/swapnilmmane/moqui/git/commits{/sha}","comments_url":"https://api.github.com/repos/swapnilmmane/moqui/comments{/number}","issue_comment_url":"https://api.github.com/repos/swapnilmmane/moqui/issues/comments{/number}","contents_url":"https://api.github.com/repos/swapnilmmane/moqui/contents/{+path}","compare_url":"https://api.github.com/repos/swapnilmmane/moqui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swapnilmmane/moqui/merges","archive_url":"https://api.github.com/repos/swapnilmmane/moqui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swapnilmmane/moqui/downloads","issues_url":"https://api.github.com/repos/swapnilmmane/moqui/issues{/number}","pulls_url":"https://api.github.com/repos/swapnilmmane/moqui/pulls{/number}","milestones_url":"https://api.github.com/repos/swapnilmmane/moqui/milestones{/number}","notifications_url":"https://api.github.com/repos/swapnilmmane/moqui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swapnilmmane/moqui/labels{/name}","releases_url":"https://api.github.com/repos/swapnilmmane/moqui/releases{/id}","created_at":"2015-11-07T05:48:30Z","updated_at":"2015-11-07T05:48:50Z","pushed_at":"2015-11-07T18:47:02Z","git_url":"git://github.com/swapnilmmane/moqui.git","ssh_url":"git@github.com:swapnilmmane/moqui.git","clone_url":"https://github.com/swapnilmmane/moqui.git","svn_url":"https://github.com/swapnilmmane/moqui","homepage":"http://www.moqui.org/","size":522046,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"moqui:master","ref":"master","sha":"da17d2845e3612935669096869b433fd3fb23c60","user":{"login":"moqui","id":8334323,"avatar_url":"https://avatars.githubusercontent.com/u/8334323?v=3","gravatar_id":"","url":"https://api.github.com/users/moqui","html_url":"https://github.com/moqui","followers_url":"https://api.github.com/users/moqui/followers","following_url":"https://api.github.com/users/moqui/following{/other_user}","gists_url":"https://api.github.com/users/moqui/gists{/gist_id}","starred_url":"https://api.github.com/users/moqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moqui/subscriptions","organizations_url":"https://api.github.com/users/moqui/orgs","repos_url":"https://api.github.com/users/moqui/repos","events_url":"https://api.github.com/users/moqui/events{/privacy}","received_events_url":"https://api.github.com/users/moqui/received_events","type":"Organization","site_admin":false},"repo":{"id":1490568,"name":"moqui","full_name":"moqui/moqui","owner":{"login":"moqui","id":8334323,"avatar_url":"https://avatars.githubusercontent.com/u/8334323?v=3","gravatar_id":"","url":"https://api.github.com/users/moqui","html_url":"https://github.com/moqui","followers_url":"https://api.github.com/users/moqui/followers","following_url":"https://api.github.com/users/moqui/following{/other_user}","gists_url":"https://api.github.com/users/moqui/gists{/gist_id}","starred_url":"https://api.github.com/users/moqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moqui/subscriptions","organizations_url":"https://api.github.com/users/moqui/orgs","repos_url":"https://api.github.com/users/moqui/repos","events_url":"https://api.github.com/users/moqui/events{/privacy}","received_events_url":"https://api.github.com/users/moqui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/moqui/moqui","description":"Moqui Framework is a framework for building enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-tenancy, and integration.","fork":false,"url":"https://api.github.com/repos/moqui/moqui","forks_url":"https://api.github.com/repos/moqui/moqui/forks","keys_url":"https://api.github.com/repos/moqui/moqui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moqui/moqui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moqui/moqui/teams","hooks_url":"https://api.github.com/repos/moqui/moqui/hooks","issue_events_url":"https://api.github.com/repos/moqui/moqui/issues/events{/number}","events_url":"https://api.github.com/repos/moqui/moqui/events","assignees_url":"https://api.github.com/repos/moqui/moqui/assignees{/user}","branches_url":"https://api.github.com/repos/moqui/moqui/branches{/branch}","tags_url":"https://api.github.com/repos/moqui/moqui/tags","blobs_url":"https://api.github.com/repos/moqui/moqui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moqui/moqui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moqui/moqui/git/refs{/sha}","trees_url":"https://api.github.com/repos/moqui/moqui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moqui/moqui/statuses/{sha}","languages_url":"https://api.github.com/repos/moqui/moqui/languages","stargazers_url":"https://api.github.com/repos/moqui/moqui/stargazers","contributors_url":"https://api.github.com/repos/moqui/moqui/contributors","subscribers_url":"https://api.github.com/repos/moqui/moqui/subscribers","subscription_url":"https://api.github.com/repos/moqui/moqui/subscription","commits_url":"https://api.github.com/repos/moqui/moqui/commits{/sha}","git_commits_url":"https://api.github.com/repos/moqui/moqui/git/commits{/sha}","comments_url":"https://api.github.com/repos/moqui/moqui/comments{/number}","issue_comment_url":"https://api.github.com/repos/moqui/moqui/issues/comments{/number}","contents_url":"https://api.github.com/repos/moqui/moqui/contents/{+path}","compare_url":"https://api.github.com/repos/moqui/moqui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moqui/moqui/merges","archive_url":"https://api.github.com/repos/moqui/moqui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moqui/moqui/downloads","issues_url":"https://api.github.com/repos/moqui/moqui/issues{/number}","pulls_url":"https://api.github.com/repos/moqui/moqui/pulls{/number}","milestones_url":"https://api.github.com/repos/moqui/moqui/milestones{/number}","notifications_url":"https://api.github.com/repos/moqui/moqui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moqui/moqui/labels{/name}","releases_url":"https://api.github.com/repos/moqui/moqui/releases{/id}","created_at":"2011-03-17T06:38:36Z","updated_at":"2015-10-29T17:03:48Z","pushed_at":"2015-11-07T19:22:01Z","git_url":"git://github.com/moqui/moqui.git","ssh_url":"git@github.com:moqui/moqui.git","clone_url":"https://github.com/moqui/moqui.git","svn_url":"https://github.com/moqui/moqui","homepage":"http://www.moqui.org/","size":522046,"stargazers_count":78,"watchers_count":78,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":4,"forks":83,"open_issues":4,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moqui/moqui/pulls/172"},"html":{"href":"https://github.com/moqui/moqui/pull/172"},"issue":{"href":"https://api.github.com/repos/moqui/moqui/issues/172"},"comments":{"href":"https://api.github.com/repos/moqui/moqui/issues/172/comments"},"review_comments":{"href":"https://api.github.com/repos/moqui/moqui/pulls/172/comments"},"review_comment":{"href":"https://api.github.com/repos/moqui/moqui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moqui/moqui/pulls/172/commits"},"statuses":{"href":"https://api.github.com/repos/moqui/moqui/statuses/837a0fc05d57f6bfa9e1da7a1eb7c931525ee4d0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}