From 7008cf326903ea6f1887011fca1e5fa8ca626d28 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sun, 25 Oct 2020 11:28:40 +0100 Subject: Add results caching on public tag and profile categories fetching --- include/contact_widgets.php | 49 ++++++++++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 18 deletions(-) (limited to 'include/contact_widgets.php') diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 6ad276b00..626a825b2 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,6 +1,6 @@ $rr['term'], 'selected' => (($selected == $rr['term']) ? 'selected' : '')); @@ -104,6 +116,7 @@ function categories_widget($baseurl,$selected = '') { return ''; } + function cardcategories_widget($baseurl,$selected = '') { if(! feature_enabled(App::$profile['profile_uid'],'categories')) -- cgit v1.2.3