projects
/
WP-Plugins
/
michsci-products.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb79ce
)
testing search query
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 2 Feb 2016 14:26:15 +0000
(09:26 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 2 Feb 2016 14:26:15 +0000
(09:26 -0500)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
4e90cc5
..
a931c2f
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-464,12
+464,13
@@
function michsci_shortcode($atts)
// strip_tags($text_query);
if(isset($_REQUEST['tsearch'])){
setcookie("search", "true",time()+1, "/" );
+ michsci_list_products($text_query);
} else {
setcookie("search", "null",time()+1, "/" );
+ michsci_list_products();
}
- michsci_list_products($text_query);
michsci_list_categories();
}