Comments (3)
Ah... funny. I just realized that the checkbox is only for searching.
So only one question has remained for me,
How can I include the datasets from sub-organization when I go to the page of a parent organization?
Best regards
Mani
from ckanext-hierarchy.
@MandanaMoshref You could implement the before_view hook of the IGroupController interface and do the following:
- Query for all datasets that the current user would be able to see
- Get a list of all organizations that belong to the parent
- Find the intersection between the set of all datasets and the list of child orgs, display those. Each dataset has an owner, if that owner appears in your list of child orgs, display it.
from ckanext-hierarchy.
@MandanaMoshref I've fixed the "Include sub-organizations" checkbox on CKAN 2.8 now, so hopefully it's doing what you're after. #37
It sounds like you want the default to be on, so perhaps add a config option for that?
from ckanext-hierarchy.
Related Issues (20)
- Organization activity stream page gives 404 HOT 1
- create parent via api HOT 5
- Paging is broken in organization pages HOT 4
- not working on CKAN 2.5.1 HOT 2
- speedbump HOT 1
- Not working on CKAN 2.8 or higher HOT 6
- JSTree implementation HOT 1
- Pagination breaks organization display HOT 3
- Extra entries when searching organizations
- Organization sorting HOT 1
- Template tag `resource` vs `asset` heuristic struggles with CKAN '2.10.0a0'
- Helper 'check_ckan_version' has not been defined HOT 4
- Missing/incoherent git tags HOT 3
- Remove `resource` tags since they were deprecated HOT 2
- Pagination still breaks tree
- Where are the relations of parent and child organizations stored? HOT 1
- Switch between views HOT 3
- Manage hierarchy via API HOT 1
- Exception: menu item `organization_activity` need parameter `offset` HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckanext-hierarchy.