Skip to content

Commit

Permalink
Full-text search now works
Browse files Browse the repository at this point in the history
  • Loading branch information
gubi committed Jul 29, 2014
1 parent cf04d4a commit 84ca375
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions common/include/conf/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"title" => "Go to Main Page"
)
),
/*
"Blog" => array(
"content" => array(
"icon" => "fa fa-comments-o",
Expand All @@ -36,6 +37,7 @@
"title" => "The PGRDG Blog"
)
),
*/
"About us" => array(
"content" => array(
"icon" => "fa fa-tencent-weibo",
Expand Down Expand Up @@ -122,7 +124,7 @@
"href" => "/Search"
)//,
//"divider" => "vertical-divider"
),
)
/*
"Map" => array(
"content" => array(
Expand Down Expand Up @@ -153,7 +155,6 @@
),
"divider" => "vertical-divider"
),
*/
"Sign in" => array(
"content" => array(
"icon" => "fa fa-sign-in",
Expand All @@ -166,6 +167,7 @@
"id" => "login_menu_btn"
)
)
*/
);
$menu["menu"]["map_toolbox"] = array(
"Find_location" => array(
Expand Down
4 changes: 1 addition & 3 deletions common/js/_main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@
/**
* Remove storage checking before if exists or is empty
*/

$.remove_storage = function(name) {
// if(name.indexOf(".") > )
var a = "",
names = name.split(".");
if(names[0] == "pgrdg_cache") {
Expand Down Expand Up @@ -701,8 +701,6 @@
*/
$.search_fulltext = function(text) {
if(text.length >= 3) {
console.log("Searching '" + text + "'...'");

var objp = {};
objp.storage_group = "summary";
objp[kAPI_REQUEST_OPERATION] = kAPI_OP_MATCH_UNITS;
Expand Down

0 comments on commit 84ca375

Please sign in to comment.