[Mayan EDMS: 1950] Index view - item count

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1950] Index view - item count

Hicham Tahiri
Good afternoon,

First thanks for this amazing piece of software. Originally I wanted to manage my household bills, statements, etc with it, but I found that it is an awesome software for also managing my ebook library (obviously in its own document type!).

I really enjoy the index feature, and it has been the opportunity to learn a bit of django templating - my documents which had not the Publisher metadata defined were not appearing in the index, and I solved that by setting a template of the form:
{% if document.metadata_value_of.Publisher %} {{ document.metadata_value_of.Publisher }} {% else %} VARIOUS {% endif %}

Now, I have the following request:
The items count of an index only report the number of nodes in the next level of tree template



























Would it be complex to add an additional column 'Documents' showing the number of documents in the last level of the tree template? Currently for instance my first 5 first nodes only report 1 item, but it would be great to know how many documents are under this one item!

Again appreciate that your backlog is full of many requests, but I am not sure that it is really complex for someone who can navigate the code easily.

Kind regards.

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1965] Re: Index view - item count

rosarior
Administrator
Hi, thanks!

Yes, this is doable. Would another column with the title "Document" for each node be what you are thinking about?

On Sunday, July 30, 2017 at 4:15:42 AM UTC-4, Hicham Tahiri wrote:
Good afternoon,

First thanks for this amazing piece of software. Originally I wanted to manage my household bills, statements, etc with it, but I found that it is an awesome software for also managing my ebook library (obviously in its own document type!).

I really enjoy the index feature, and it has been the opportunity to learn a bit of django templating - my documents which had not the Publisher metadata defined were not appearing in the index, and I solved that by setting a template of the form:
{% if document.metadata_value_of.Publisher %} {{ document.metadata_value_of.Publisher }} {% else %} VARIOUS {% endif %}

Now, I have the following request:
The items count of an index only report the number of nodes in the next level of tree template
<a href="https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png" style="clear:left;margin-bottom:1em;float:left;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;">


























Would it be complex to add an additional column 'Documents' showing the number of documents in the last level of the tree template? Currently for instance my first 5 first nodes only report 1 item, but it would be great to know how many documents are under this one item!

Again appreciate that your backlog is full of many requests, but I am not sure that it is really complex for someone who can navigate the code easily.

Kind regards.

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1966] Re: Index view - item count

Hicham Tahiri
Yes that will be great!

On Wed, Aug 2, 2017 at 8:28 PM, Roberto Rosario <[hidden email]> wrote:
Hi, thanks!

Yes, this is doable. Would another column with the title "Document" for each node be what you are thinking about?


On Sunday, July 30, 2017 at 4:15:42 AM UTC-4, Hicham Tahiri wrote:
Good afternoon,

First thanks for this amazing piece of software. Originally I wanted to manage my household bills, statements, etc with it, but I found that it is an awesome software for also managing my ebook library (obviously in its own document type!).

I really enjoy the index feature, and it has been the opportunity to learn a bit of django templating - my documents which had not the Publisher metadata defined were not appearing in the index, and I solved that by setting a template of the form:
{% if document.metadata_value_of.Publisher %} {{ document.metadata_value_of.Publisher }} {% else %} VARIOUS {% endif %}

Now, I have the following request:
The items count of an index only report the number of nodes in the next level of tree template



























Would it be complex to add an additional column 'Documents' showing the number of documents in the last level of the tree template? Currently for instance my first 5 first nodes only report 1 item, but it would be great to know how many documents are under this one item!

Again appreciate that your backlog is full of many requests, but I am not sure that it is really complex for someone who can navigate the code easily.

Kind regards.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
Kind regards

----
Hicham Tahiri

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1968] Re: Index view - item count

rosarior
Administrator
Done (https://gitlab.com/mayan-edms/mayan-edms/commit/68d8ce56c82981c003678591ff3c763e340b2d7c) will be available in the next minor version: 2.7.

On Wednesday, August 2, 2017 at 3:48:58 PM UTC-4, Hicham Tahiri wrote:
Yes that will be great!

On Wed, Aug 2, 2017 at 8:28 PM, Roberto Rosario <[hidden email]> wrote:
Hi, thanks!

Yes, this is doable. Would another column with the title "Document" for each node be what you are thinking about?


On Sunday, July 30, 2017 at 4:15:42 AM UTC-4, Hicham Tahiri wrote:
Good afternoon,

First thanks for this amazing piece of software. Originally I wanted to manage my household bills, statements, etc with it, but I found that it is an awesome software for also managing my ebook library (obviously in its own document type!).

I really enjoy the index feature, and it has been the opportunity to learn a bit of django templating - my documents which had not the Publisher metadata defined were not appearing in the index, and I solved that by setting a template of the form:
{% if document.metadata_value_of.Publisher %} {{ document.metadata_value_of.Publisher }} {% else %} VARIOUS {% endif %}

Now, I have the following request:
The items count of an index only report the number of nodes in the next level of tree template
<a href="https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png" style="clear:left;margin-bottom:1em;float:left;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;">


























Would it be complex to add an additional column 'Documents' showing the number of documents in the last level of the tree template? Currently for instance my first 5 first nodes only report 1 item, but it would be great to know how many documents are under this one item!

Again appreciate that your backlog is full of many requests, but I am not sure that it is really complex for someone who can navigate the code easily.

Kind regards.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe&#39;;return true;">https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Kind regards

----
Hicham Tahiri

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1970] Re: Index view - item count

Hicham Tahiri
Thanks that is fantastic!
I also have just realised you are the same person who created the awesome-django list on github. Impressive!

On Thursday, 3 August 2017 01:32:34 UTC+1, Roberto Rosario wrote:
Done (<a href="https://gitlab.com/mayan-edms/mayan-edms/commit/68d8ce56c82981c003678591ff3c763e340b2d7c" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms%2Fcommit%2F68d8ce56c82981c003678591ff3c763e340b2d7c\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEpS2B6GbgLOrFvySdYC5tCQYU0YA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms%2Fcommit%2F68d8ce56c82981c003678591ff3c763e340b2d7c\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEpS2B6GbgLOrFvySdYC5tCQYU0YA&#39;;return true;">https://gitlab.com/mayan-edms/mayan-edms/commit/68d8ce56c82981c003678591ff3c763e340b2d7c) will be available in the next minor version: 2.7.

On Wednesday, August 2, 2017 at 3:48:58 PM UTC-4, Hicham Tahiri wrote:
Yes that will be great!

On Wed, Aug 2, 2017 at 8:28 PM, Roberto Rosario <<a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="i8xHjSoIBQAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">roberto.rosa...@gmail.com> wrote:
Hi, thanks!

Yes, this is doable. Would another column with the title "Document" for each node be what you are thinking about?


On Sunday, July 30, 2017 at 4:15:42 AM UTC-4, Hicham Tahiri wrote:
Good afternoon,

First thanks for this amazing piece of software. Originally I wanted to manage my household bills, statements, etc with it, but I found that it is an awesome software for also managing my ebook library (obviously in its own document type!).

I really enjoy the index feature, and it has been the opportunity to learn a bit of django templating - my documents which had not the Publisher metadata defined were not appearing in the index, and I solved that by setting a template of the form:
{% if document.metadata_value_of.Publisher %} {{ document.metadata_value_of.Publisher }} {% else %} VARIOUS {% endif %}

Now, I have the following request:
The items count of an index only report the number of nodes in the next level of tree template
<a href="https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png" style="clear:left;margin-bottom:1em;float:left;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;">


























Would it be complex to add an additional column 'Documents' showing the number of documents in the last level of the tree template? Currently for instance my first 5 first nodes only report 1 item, but it would be great to know how many documents are under this one item!

Again appreciate that your backlog is full of many requests, but I am not sure that it is really complex for someone who can navigate the code easily.

Kind regards.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe&#39;;return true;">https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="i8xHjSoIBQAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mayan-edms+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Kind regards

----
Hicham Tahiri

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1977] Re: Index view - item count

rosarior
Administrator
You're most welcome, thanks for the suggestion.
Yes, I am :) I'm glad you enjoyed that project too. Thanks for both them!

On Thursday, August 3, 2017 at 3:20:47 PM UTC-4, Hicham Tahiri wrote:
Thanks that is fantastic!
I also have just realised you are the same person who created the awesome-django list on github. Impressive!

On Thursday, 3 August 2017 01:32:34 UTC+1, Roberto Rosario wrote:
Done (<a href="https://gitlab.com/mayan-edms/mayan-edms/commit/68d8ce56c82981c003678591ff3c763e340b2d7c" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms%2Fcommit%2F68d8ce56c82981c003678591ff3c763e340b2d7c\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEpS2B6GbgLOrFvySdYC5tCQYU0YA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms%2Fcommit%2F68d8ce56c82981c003678591ff3c763e340b2d7c\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEpS2B6GbgLOrFvySdYC5tCQYU0YA&#39;;return true;">https://gitlab.com/mayan-edms/mayan-edms/commit/68d8ce56c82981c003678591ff3c763e340b2d7c) will be available in the next minor version: 2.7.

On Wednesday, August 2, 2017 at 3:48:58 PM UTC-4, Hicham Tahiri wrote:
Yes that will be great!

On Wed, Aug 2, 2017 at 8:28 PM, Roberto Rosario <[hidden email]> wrote:
Hi, thanks!

Yes, this is doable. Would another column with the title "Document" for each node be what you are thinking about?


On Sunday, July 30, 2017 at 4:15:42 AM UTC-4, Hicham Tahiri wrote:
Good afternoon,

First thanks for this amazing piece of software. Originally I wanted to manage my household bills, statements, etc with it, but I found that it is an awesome software for also managing my ebook library (obviously in its own document type!).

I really enjoy the index feature, and it has been the opportunity to learn a bit of django templating - my documents which had not the Publisher metadata defined were not appearing in the index, and I solved that by setting a template of the form:
{% if document.metadata_value_of.Publisher %} {{ document.metadata_value_of.Publisher }} {% else %} VARIOUS {% endif %}

Now, I have the following request:
The items count of an index only report the number of nodes in the next level of tree template
<a href="https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png" style="clear:left;margin-bottom:1em;float:left;margin-right:1em" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-zEhoPguX1G0/WX2UZQFjgvI/AAAAAAAAe5M/GfbmitmJMbU5x4TTk-ZomxQ70A0_iC4dACLcBGAs/s1600/chrome_2017-07-30_09-09-31.png&#39;;return true;">


























Would it be complex to add an additional column 'Documents' showing the number of documents in the last level of the tree template? Currently for instance my first 5 first nodes only report 1 item, but it would be great to know how many documents are under this one item!

Again appreciate that your backlog is full of many requests, but I am not sure that it is really complex for someone who can navigate the code easily.

Kind regards.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Mayan EDMS" group.
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe&#39;;return true;">https://groups.google.com/d/topic/mayan-edms/XJp7jJesxUo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mayan-edms+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Kind regards

----
Hicham Tahiri

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.