readding sidebar
This commit is contained in:
committed by
Christoph Strobl
parent
f15f55a508
commit
73d5ace2d1
@@ -146,7 +146,7 @@ Note that to back the custom finders, you need to set up two Views on the server
|
||||
|
||||
For `findByLastname`:
|
||||
|
||||
```
|
||||
```javascript
|
||||
function (doc, meta) {
|
||||
if(doc._class == "com.example.entity.User" && doc.firstname) {
|
||||
emit(doc.firstname, null);
|
||||
@@ -156,7 +156,7 @@ function (doc, meta) {
|
||||
|
||||
For `findAll` and `count` (also add a reduce `_count`):
|
||||
|
||||
```
|
||||
```javascript
|
||||
function (doc, meta) {
|
||||
if(doc._class == "com.example.entity.User") {
|
||||
emit(null, null);
|
||||
@@ -166,5 +166,8 @@ function (doc, meta) {
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
{% capture related_resources %}
|
||||
{% endcapture %}
|
||||
|
||||
{% include project_page.html %}
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user