Skip to content
Extraits de code Groupes Projets
Valider 92a56166 rédigé par mattab's avatar mattab
Parcourir les fichiers

fixes #6819

parent c21d46f7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -80,7 +80,8 @@ class Segment ...@@ -80,7 +80,8 @@ class Segment
* Constructor. * Constructor.
* *
* @param string $segmentCondition The segment condition, eg, `'browserCode=ff;countryCode=CA'`. * @param string $segmentCondition The segment condition, eg, `'browserCode=ff;countryCode=CA'`.
* @param array $idSites The list of sites the st * @param array $idSites The list of sites the segment will be used with. Some segments are
* dependent on the site, such as goal segments.
* @throws * @throws
*/ */
public function __construct($segmentCondition, $idSites) public function __construct($segmentCondition, $idSites)
......
...@@ -145,7 +145,7 @@ class Controller extends \Piwik\Plugin\Controller ...@@ -145,7 +145,7 @@ class Controller extends \Piwik\Plugin\Controller
$startCounter = Common::getRequestVar('filter_offset', 0, 'int'); $startCounter = Common::getRequestVar('filter_offset', 0, 'int');
$nextVisits = Request::processRequest('Live.getLastVisitsDetails', array( $nextVisits = Request::processRequest('Live.getLastVisitsDetails', array(
'segment' => self::getSegmentWithVisitorId(), 'segment' => self::getSegmentWithVisitorId(),
'filter_limit' => API::VISITOR_PROFILE_MAX_VISITS_TO_SHOW, 'filter_limit' => VisitorProfile::VISITOR_PROFILE_MAX_VISITS_TO_SHOW,
'filter_offset' => $startCounter, 'filter_offset' => $startCounter,
'period' => false, 'period' => false,
'date' => false 'date' => false
......
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
</ol> </ol>
</div> </div>
<div class="visitor-profile-more-info"> <div class="visitor-profile-more-info">
{% if visitorData.lastVisits.getRowsCount() >= constant("Piwik\\Plugins\\Live\\API::VISITOR_PROFILE_MAX_VISITS_TO_SHOW") %} {% if visitorData.lastVisits.getRowsCount() >= constant("Piwik\\Plugins\\Live\\VisitorProfile::VISITOR_PROFILE_MAX_VISITS_TO_SHOW") %}
<a href="#">{{ 'Live_LoadMoreVisits'|translate }}</a> <img class="loadingPiwik" style="display:none;" src="plugins/Morpheus/images/loading-blue.gif"/> <a href="#">{{ 'Live_LoadMoreVisits'|translate }}</a> <img class="loadingPiwik" style="display:none;" src="plugins/Morpheus/images/loading-blue.gif"/>
{% else %} {% else %}
<span class="visitor-profile-no-visits">{{ 'Live_NoMoreVisits'|translate }}</span> <span class="visitor-profile-no-visits">{{ 'Live_NoMoreVisits'|translate }}</span>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter