Git Product home page Git Product logo

Comments (3)

JaySMa avatar JaySMa commented on July 21, 2024

I have the same issue, except it's for our October 2016 calendar.

The DB table shows 20 items, but when we look at the calendar; NOTHING.

Sad to see that you opened this issue on July 19th and there hasn't been a response.

from dnn.events.

jasclar avatar jasclar commented on July 21, 2024

Same issue with month view, but with November 2016.
My List view also shows no items. However my Week view DOES show items.
I have "English (United Kingdom)" as default for the site, with "English (United States)" disabled.
Timezone for the calendar is "(UTC+00:00) Dublin, Edinburgh, Lisbon, London"

from dnn.events.

jasclar avatar jasclar commented on July 21, 2024

I managed to work around this for my own purposes. In case it helps, this is what I did ...
I edited the [EventsGetByRange] stored procedure...

There seemed to be an issue with the date parameters being passed in, so I overrode the condition by adding a clause "or (1=1)" to force a "true" here. The module's own filtering can still restrict results enough for me.

/* (E.EventTimeBegin >= @BeginDate AND E.EventTimeBegin < DATEADD(DAY,1, @EndDate))) */
(E.EventTimeBegin >= @BeginDate AND E.EventTimeBegin < DATEADD(DAY,1, @EndDate)) or (1=1))

...and Category and Location might be null, so I made this change...

/*
AND (e.Category in (SELECT * FROM dbo.EventsSplitIDs) or @CategoryIDs = '-1')
AND (e.Location in (SELECT * FROM dbo.EventsSplitIDs) or @LocationIDs = '-1')
*/
AND (isnull(e.Category,'') in (SELECT * FROM dbo.EventsSplitIDs) or @CategoryIDs = '-1')
AND (isnull(e.Location,'') in (SELECT * FROM dbo.EventsSplitIDs) or @LocationIDs = '-1')

from dnn.events.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.