diff --git a/administrator/language/en-GB/en-GB.mod_pergroup.ini b/administrator/language/en-GB/en-GB.mod_pergroup.ini
index 961a1de..b1b8269 100644
--- a/administrator/language/en-GB/en-GB.mod_pergroup.ini
+++ b/administrator/language/en-GB/en-GB.mod_pergroup.ini
@@ -14,9 +14,10 @@ MOD_PERGROUP_VALIDATION_TYPE="Validation Type"
MOD_PERGROUP_IN_GROUP="In Group"
MOD_PERGROUP_NOT_IN_GROUP="Not In Group"
-MOD_PERGROUP_EXECUTION_DIRECTION="Execution Direction"
-MOD_PERGROUP_UP="Up"
-MOD_PERGROUP_DOWN="Down"
+MOD_PERGROUP_EXECUTION_DIRECTION="Load Direction"
+MOD_PERGROUP_FIRST_FOUND_CONTENT="Load Only First Found"
+MOD_PERGROUP_UP="Normal"
+MOD_PERGROUP_DOWN="Change"
MOD_PERGROUP_NONE="None"
MOD_PERGROUP_BREAK="New Line"
MOD_PERGROUP_CLASS="Class [<div class="separator">]"
diff --git a/mod_pergroup.xml b/mod_pergroup.xml
index c5d49b0..3c20491 100644
--- a/mod_pergroup.xml
+++ b/mod_pergroup.xml
@@ -295,6 +295,16 @@
+
+
+
+ redirect($this->results[$field_id]);
return true;
}
+ // if set so that not all content should be loaded, then break when firt data is found
+ if($this->found && $this->params->get('first_found_content')){
+ break;
+ }
}
return true;
}
@@ -107,6 +112,8 @@ class perGroup
}
// set result only if not a redirect
$text[] = $result;
+ $this->found = true;
+ break;
} else {
// when user is not in active group
$text[] = false;
@@ -120,6 +127,8 @@ class perGroup
}
// set result only if not a redirect
$text[] = $result;
+ $this->found = true;
+ break;
} else {
// when user is not in active group
$text[] = false;