slub / slub_events

EXT:slub_events
GNU General Public License v3.0
2 stars 14 forks source link

[BUGFIX] root category was not passed to gbListAction(), which ended in an empty events list and a method call on null for the parent category #38

Closed twaurisch closed 4 years ago

twaurisch commented 4 years ago

See PR #37

albig commented 4 years ago

That's of course not nice to thrown an exception like this. Thank you for this fix.

The use case of "genius bar" events was always to have two levels below the root:

- GB-Events-root-category
|--> First Main Topic (like "Study / Research")
      |--> First bookable category like "Digital Scholarship"
      | --> ...
|--> Second Main Topic (like "Writing / Publishing")
     |--> First bookable sub-category 
     | --> ...

(I'm even not sure, if you need to have a level more - we do so')