Details
Description
1. Create a bucket and add some documents
2. Create a view
3. Open just created view, edit map-reduce function, save it
4. Function is saved correctly
5. Create one more ddoc and a view in it
6. Open new view, edit map-reduce function, save it
7. Page is reloaded, old map-reduce function appears, new function is not saved
2. Create a view
3. Open just created view, edit map-reduce function, save it
4. Function is saved correctly
5. Create one more ddoc and a view in it
6. Open new view, edit map-reduce function, save it
7. Page is reloaded, old map-reduce function appears, new function is not saved
MB-6167: fixed saving map/reduce functions into wrong views (Revision 2221158bc3128e2490a551d2e997bb0a2185351b)Result = SUCCESS
Aliaksey Kandratsenka :
Files :
* priv/public/js/views.js
* priv/js-unit-tests/t/cells-test.js