[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-06-13 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Koha collecto  changed:

   What|Removed |Added

 CC||k...@collecto.ca

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-05-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Baptiste  changed:

   What|Removed |Added

 CC||baptiste.bay...@inlibro.com

--- Comment #25 from Baptiste  ---
The test plan working correctly, 
But the lists are not exactly the same between the OPAC side and the staff side
if the items are the same date acquired.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-05-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Baptiste  changed:

   What|Removed |Added

 Attachment #163101|0   |1
is obsolete||

--- Comment #24 from Baptiste  ---
Created attachment 166472
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166472=edit
Bug 36188: Sort lists by date acquired (items.dateaccessioned) in the OPAC

When a list is sorted by date acquired it should be ordered descending
by default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. In the Staff client, go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date acquired'
4. Add several barcodes to the list belonging to items with a range of
different date acquired dates
5. In the staff client observe the list records are ordered by the 'Date
acquired' in descending order - i.e. titles with newest date acquired are
displayed first
6. In a new browser window navigate to the list in the Koha OPAC
7. Confirm the list titles in the OPAC are ordered in the same order as the
staff
client
8. In the OPAC click on the 'Sort' button and select 'Date acquired (oldest to
newest)
9. Confirm the OPAC list order reverses
10. In the OPAC choose other values from the 'Sort' button and confirm
the list is re-sorted correctly

Sponsored-By: The Treasury, New Zealand
Signed-off-by: baptiste 

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-05-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Baptiste  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-13 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #23 from Esther Melander  ---
The change to Date acquired looks fine.

Setting the sort to Date acquired in the list edit screen does seem to sort
correctly. I had one bibliographic record with two items with different dates.
The list sorted correctly even though the one item was acquired earlier than
the other. For example, the top bibliographic record had items with dates
acquired that looked like this:

09/04/2014
09/10/2020

The second bibliographic record had an item with this date:

03/17/2016

This sorting is correct since the bibliographic record with the newest item
(09/10/2020) is at the top of the list. But is it confusing if the dates
themselves are still out of order? Bibliographic records with multiple copies
acquired at different times add to the appearance of an incorrect sort. Is
there a way to deal with multiple copies acquired at different times.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Status|Signed Off  |Needs Signoff

--- Comment #22 from Alex Buckley  ---
Hi Lucas, Esther and Owen,

I've just attached two amended patches which change the text displayed to 'Date
acquired'. Would you mind please taking a look and letting us know if that look
alright?

Also, Owen would you mind please checking if the sorting is still inconsistent
between the OPAC and staff client?

Alex

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Attachment #162931|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #21 from Alex Buckley  ---
Created attachment 163101
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163101=edit
Bug 36188: Sort lists by date acquired (items.dateaccessioned) in the OPAC

When a list is sorted by date acquired it should be ordered descending
by default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. In the Staff client, go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date acquired'
4. Add several barcodes to the list belonging to items with a range of
different date acquired dates
5. In the staff client observe the list records are ordered by the 'Date
acquired' in descending order - i.e. titles with newest date acquired are
displayed first
6. In a new browser window navigate to the list in the Koha OPAC
7. Confirm the list titles in the OPAC are ordered in the same order as the
staff
client
8. In the OPAC click on the 'Sort' button and select 'Date acquired (oldest to
newest)
9. Confirm the OPAC list order reverses
10. In the OPAC choose other values from the 'Sort' button and confirm
the list is re-sorted correctly

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #20 from Alex Buckley  ---
Created attachment 163100
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163100=edit
Bug 36188: Sort lists by Date acquired (items.dateaccessioned) in the staff
client

When a list is sorted by date acquired it should be ordered descending by
default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. Go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date acquired'
4. Add several barcodes to the list belonging to items with a range of
different items.dateaccessioned dates (952$d subfields)
5. Observe the list records are ordered by the 'Date acquired'
column:
- Records with the newest date acquired values displayed first.
- The date acquired value for each title item record is listed in this column.
6. Switch to order date acquired ascending by clicking on the 'Date
acquired' column label - records with the oldest date acquired
should be displayed first.
7. Edit the list. Change the 'Sort this list by' dropdown to 'Title'
8. Notice the list records are ordered by the 'Title' column in an
ascending order - A-Z alphabetically.

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Attachment #162554|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #19 from Lucas Gass  ---
(In reply to Esther Melander from comment #16)
> Testing other tables in Koha, it is possible to click on the sort arrows and
> have the column sort. In lists, it looks like you have to click on the
> column name. This is inconsistent behavior, but is perhaps a separate bug.

Lists are one place in Koha that are not yet "DataTable'ed". There is an open
bug regarding this:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30031

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Esther Melander  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

--- Comment #18 from Esther Melander  ---
Signing off because this works according to the test plan.

I agree that Date Added versus Date Accessioned are a bit confusing. They could
mean the same thing, but these dates are pulled from different places. Date
Added comes from the bibliographic record (?) and Date accessioned comes from
the item record, if I understand the difference.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Biblibre Sandboxes  changed:

   What|Removed |Added

 Attachment #162555|0   |1
is obsolete||

--- Comment #17 from Biblibre Sandboxes  ---
Created attachment 162931
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162931=edit
Bug 36188: Sort lists by items.dateaccessioned in the OPAC

When a list is sorted by dateaccessioned it should be ordered descending
by default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. In the Staff client, go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date accessioned'
4. Add several barcodes to the list belonging to items with a range of
different items.dateaccessioned dates
5. In the staff client observe the list records are ordered by the 'Date
accessioned' in descending order - i.e. titles with newest dateaccessioned are
displayed first
6. In a new browser window navigate to the list in the Koha OPAC
7. Confirm the list titles in the OPAC are ordered in the same order as the
staff
client
8. In the OPAC click on the 'Sort' button and select 'Date accession (oldest to
newest)
9. Confirm the OPAC list order reverses
10. In the OPAC choose other values from the 'Sort' button and confirm
the list is re-sorted correctly

Sponsored-By: The Treasury, New Zealand
Signed-off-by: esther 

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #16 from Esther Melander  ---
Testing other tables in Koha, it is possible to click on the sort arrows and
have the column sort. In lists, it looks like you have to click on the column
name. This is inconsistent behavior, but is perhaps a separate bug.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Esther Melander  changed:

   What|Removed |Added

 CC||esther.melander@bywatersolu
   ||tions.com

--- Comment #15 from Esther Melander  ---
I tested this and it appears to work when selecting the date accessioned.
However, I couldn't sort the list at all when clicking on the sort button for
the other columns. Even though I selected the sort order by date accessioned, I
would expect to retain the ability to continue to sort the list in different
way when viewing. For example, maybe I want the date accessioned to reverse the
sort, or maybe I need to sort by call number next. Clicking on the sort icons
in the column header does nothing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Lucas Gass  changed:

   What|Removed |Added

 CC||lu...@bywatersolutions.com

--- Comment #14 from Lucas Gass  ---
(In reply to Alex Buckley from comment #13)
> (In reply to Owen Leonard from comment #10)
> > (In reply to Owen Leonard from comment #9)
> >  
> > > I'm a little bit concerned about using dateaccessioned for sorting
> > 
> > Ignore me, I wasn't thinking about the fact that there is already a "Date
> > added" sorting option.
> > 
> > I wonder if there is a more user-friendly way to say "Date accessioned?"
> > Some way to express that the order is by newest item?
> 
> Hi Owen, 
> 
> Thanks for your feedback and taking a look!
> 
> Looking at your screenshots now.
> 
> Do you think 'Date acquired' might be a more helpful wording? Happy to
> change the wording.
> 
> Alex

Looks like 'Date acquired' is used on returns.tt and catalogue_stats.tt and
that seems to make sure much sense to me.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #13 from Alex Buckley  ---
(In reply to Owen Leonard from comment #10)
> (In reply to Owen Leonard from comment #9)
>  
> > I'm a little bit concerned about using dateaccessioned for sorting
> 
> Ignore me, I wasn't thinking about the fact that there is already a "Date
> added" sorting option.
> 
> I wonder if there is a more user-friendly way to say "Date accessioned?"
> Some way to express that the order is by newest item?

Hi Owen, 

Thanks for your feedback and taking a look!

Looking at your screenshots now.

Do you think 'Date acquired' might be a more helpful wording? Happy to change
the wording.

Alex

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #12 from Owen Leonard  ---
Created attachment 162607
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162607=edit
Different list sort in the OPAC

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #11 from Owen Leonard  ---
Created attachment 162606
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162606=edit
List sort in the staff interface

Note that I edited one item in each record to have the same dateaccessioned.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #10 from Owen Leonard  ---
(In reply to Owen Leonard from comment #9)

> I'm a little bit concerned about using dateaccessioned for sorting

Ignore me, I wasn't thinking about the fact that there is already a "Date
added" sorting option.

I wonder if there is a more user-friendly way to say "Date accessioned?" Some
way to express that the order is by newest item?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #9 from Owen Leonard  ---
Is there a difference in the way sort is calculated between the staff interface
and the OPAC? I'm seeing some differences with my own testing data. I'm
wondering if it has to do with how titles with the same dateaccessioned are
handled.

I'm a little bit concerned about using dateaccessioned for sorting, since
ordering search results by date uses other data. I imagine it might also be
confusing to users who see a title at the top of the list which isn't new per
se, it just has a new copy.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff

--- Comment #8 from Alex Buckley  ---
Patches updated and test plans added. 

As noted in the commit messages, when sorting by dateaccessioned the order will
be descending by default - i.e. titles with newest dateaccessioned will be
displayed first. 

This is different to the default ascending order for all other sort options.

This is ready to test.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #7 from Alex Buckley  ---
Created attachment 162555
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162555=edit
Bug 36188: Sort lists by items.dateaccessioned in the OPAC

When a list is sorted by dateaccessioned it should be ordered descending
by default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. In the Staff client, go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date accessioned'
4. Add several barcodes to the list belonging to items with a range of
different items.dateaccessioned dates
5. In the staff client observe the list records are ordered by the 'Date
accessioned' in descending order - i.e. titles with newest dateaccessioned are
displayed first
6. In a new browser window navigate to the list in the Koha OPAC
7. Confirm the list titles in the OPAC are ordered in the same order as the
staff
client
8. In the OPAC click on the 'Sort' button and select 'Date accession (oldest to
newest)
9. Confirm the OPAC list order reverses
10. In the OPAC choose other values from the 'Sort' button and confirm
the list is re-sorted correctly

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #6 from Alex Buckley  ---
Created attachment 162554
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162554=edit
Bug 36188: Sort lists by items.dateaccessioned in the staff client

When a list is sorted by dateaccessioned it should be ordered descending
by default. This is to ensure the newest items are displayed first.

Test plan:
1. Apply patches and restart services
2. Go to the Lists module and create a new list
3. Set the 'Sort this list by' dropdown = 'Date accessioned'
4. Add several barcodes to the list belonging to items with a range of
different items.dateaccessioned dates
5. Observe the list records are ordered by the 'Date accessioned'
column:
- Records with the newest dateaccessioned values displayed first.
- The items.dateaccessioned value for each title item record is listed in this
column.
6. Switch to order dateaccessioned ascending by clicking on the 'Date
accessioned' column label - records with the oldest dateaccessioned
should be displayed first.
7. Edit the list. Change the 'Sort this list by' dropdown to 'Title'
8. Notice the list records are ordered by the 'Title' column in an
ascending order - A-Z alphabetically.

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Attachment #162548|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Attachment #162549|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #5 from Alex Buckley  ---
Created attachment 162549
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162549=edit
Bug 36188: Sort lists by items.dateaccessioned in the OPAC

WIP

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #4 from Alex Buckley  ---
Created attachment 162548
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162548=edit
Bug 36188: Sort lists by items.dateaccessioned in the staff client

WIP

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Attachment #162524|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Attachment #162525|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #3 from Alex Buckley  ---
Patches written, test plans to come. 

Not ready for testing yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #2 from Alex Buckley  ---
Created attachment 162525
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162525=edit
Bug 36188: Sort lists by items.dateaccessioned in the OPAC

WIP

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

--- Comment #1 from Alex Buckley  ---
Created attachment 162524
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162524=edit
Bug 36188: Sort lists by items.dateaccessioned in the staff client

WIP

Sponsored-By: The Treasury, New Zealand

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36188] Allow to sort lists by items.dateaccessioned of item records

2024-02-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36188

Alex Buckley  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
  Change sponsored?|--- |Sponsored

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/