Konfiguraatiosäädöt ja cas ehcache -riippuvuudet paikalleen
Konfiguraatiosäädöt ja cas ehcache -riippuvuudet paikalleen
Added new factory into app.js that enables fetching all organisations under oid

Used when displaying organization list for user with certain
organization id. Added global variable serviceName into app too.
Only allow selecting and searching organizations that belong to organization user is in

Needs additional logic for user belonging in oph organization because
the current functionality would be too slow for it.

Also search functionality has performance issues making it less usable.
Different logic for selecting organization if user belongs to oph

Using the old logic instead, only the root is initially fetched and
search uses the method provided by organizations service
REST- put ja post korjaus
REST-rajapinnan siivous
ResetSearch functionality into OrganizationTreeModel

Should provide better user experience, no need to initialize
organizations as often. Removed use of debounce since it wasn't
UI-friendly with current implementation. However, OPH functionality
might still require it.
Removed dead code

Variable oph wasn't used.
KH-122
Koodiston katselunäkymässä koodilista ja koodin haku
Tiedostojen järjestäminen kansioihin
Separated logic for OPH organization functionality into separate model

Reduces if-else jungle considerably.
Changed global constant service name to uppercase
Separate common functionality from OrganizationTreeModels into new object
Remove REST call from initialization of OrganisaatioOPHTreeModel

It will be called anyway when resetSearch is called from watcher. Might
change it to something else in the future since it is a bit confusing
even though it is less code.
Making functionality of OrganizationTreeModels similar

Also removed the bug that caused nothing to be found because property
existed but was blanked for some reason.
Take childorganizations into account when calculating number of hits
Projektin nimi korjattu
Remove search for other languages besides finnish

Leaving it this way until localization is supported project-wise.
KH-133
Koodin katselunäkymässä koodin tiedot