@@ -19,6 +19,8 @@
maxDate = Model.MaxDate,
organizationId = Model.OrganizationId,
isOnline = Model.IsOnline,
+ language = Model.Language,
+ countryId = Model.CountryId,
maxResultCount = Model.MaxResultCount
})">
Load More
diff --git a/src/EventHub.Web/Pages/Events/Components/EventsArea/EventsAreaViewComponent.cs b/src/EventHub.Web/Pages/Events/Components/EventsArea/EventsAreaViewComponent.cs
index 8761bc6..73348ca 100644
--- a/src/EventHub.Web/Pages/Events/Components/EventsArea/EventsAreaViewComponent.cs
+++ b/src/EventHub.Web/Pages/Events/Components/EventsArea/EventsAreaViewComponent.cs
@@ -57,6 +57,8 @@ namespace EventHub.Web.Pages.Events.Components.EventsArea
MinDate = minDate,
MaxDate = maxDate,
IsOnline = isOnline,
+ Language = language,
+ CountryId = countryId,
SkipCount = skipCount.GetValueOrDefault(),
MaxResultCount = maxResultCount,
IsPagination = isPagination
@@ -78,6 +80,10 @@ namespace EventHub.Web.Pages.Events.Components.EventsArea
public bool? IsOnline { get; set; }
+ public string Language { get; set; }
+
+ public Guid? CountryId { get; set; }
+
public int SkipCount { get; set; }
public int MaxResultCount { get; set; }
diff --git a/src/EventHub.Web/Pages/Events/Index.cshtml b/src/EventHub.Web/Pages/Events/Index.cshtml
index 956f790..8179ccb 100644
--- a/src/EventHub.Web/Pages/Events/Index.cshtml
+++ b/src/EventHub.Web/Pages/Events/Index.cshtml
@@ -43,15 +43,15 @@
@@ -59,7 +59,7 @@
@* ToDo: System of tags or categories needs to be implemented *@
@await Component.InvokeAsync(typeof(EventsAreaViewComponent), new
{
organizationId = Model.Organization.Id,
- minDate = Clock.Now
+ minDate = Clock.Now.ClearTime()
})